Hi,
Is there any documentation of the status of the POSIX functionality in NeXTSTEP 3.3 and OpenSTEP 4.2?
I'm running OS 4.2/SPARC and I've noticed that for instance the waidpid function is defined in the system header files sys/wait.h but the function itself seems to be missing in the actual libraries. Am I missing something or is there an inconsistency between what the header files define and what the system libs actually implement? If so, does anyone know more about missing POSIX functionality?
You need to use the "-posix" compiler and linker flag so the posix library and loader gets included. But as long as you can avoid using that stuff under NS/OS try to avoid it.
Unfortunately the POSIX implementation of NS/OS is rather broken and far from beeing complete even in relation to the time NS/OS came out.
-posix under nextstep is waaaay better then OpenSTEP for what its worth.. But they are both antiquated, and based on 4.3BSD... not to be confused with RENO or TAHOE..
Certainly not 4.4..
ok, since (at least to my knowledge) any NS3.3 binary will run unmodified on an OS4.2 host, does this mean that since NS3.3 works better with "-posix" generally offers a better build environment/development platform when it comes to porting software from various UNIX platforms?
Lots of useful software that is out there relies more or less on at least a subset of the posix functionality, what is generally the best approach when porting software to NS/OS is it to strip the posix requirements from whatever software one is trying to build on NS/OS or is it to implement the functions that are missing in NS/OS from say a glibc-x.x.x distribution?