POSIX and ISC 2.2.x -- how many people are using this?
Jim Balter
jim at segue.segue.com
Sat Apr 20 06:41:40 AEST 1991
In article <1991Apr16.235122.26807 at scuzzy.in-berlin.de> src at scuzzy.in-berlin.de (Heiko Blume) writes:
>real strange, i have compiled quite a lot with something like
>
>gcc -D_POSIX_SOURCE -DPOSIX -o bla bla.c -lcposix
This doesn't turn on the kernel POSIX support. cc -Xp or OSTYPE=POSIX cc
or cc /lib/lcrtp.o or doing the system call that the latter does will.
>i never tried the stuff mentioned in cc(1) like setenv OSTYPE POSIX,
That is interpreted by cc, not gcc. It is equivalent to the -Xp flag and
causes linking with /lib/crtp1.o and /lib/libcposix.a .
>never ever have i seen a panic whatsoever.
Because you aren't using kernel posix.
More information about the Comp.unix.sysv386
mailing list