1752388 Members
5981 Online
108788 Solutions
New Discussion юеВ

Poor portability program

 
Chun-Pang Li
Contributor

Poor portability program

Hi,

Is there any simple way to code a "poor portability" program? A simple example would be very helpful.

Someone did suggest that use mlib or pstat. But I need a sample program.

Thanks,
3 REPLIES 3
Christopher Caldwell
Honored Contributor

Re: Poor portability program

What do you mean by poor portability?
Chun-Pang Li
Contributor

Re: Poor portability program

Which means a program is hard to compile on the other platform (eq, cause a lot of code change, make file, etc.)
Bill Hassell
Honored Contributor

Re: Poor portability program

Probably the easiest way to find non-portable examples is to read section 2 man pages (at the bottom of each page) looking for 'developed by HP' and no other standards mentioned or manufacturers mentioned. Also, coding kernel entry points such as might be used with adb is a good way to keep programs from working on other systems.


Bill Hassell, sysadmin