Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!randvax!segue!jim From: jim@segue.segue.com (Jim Balter) Newsgroups: comp.unix.sysv386 Subject: Re: POSIX and ISC 2.2.x -- how many people are using this? Message-ID: <7193@segue.segue.com> Date: 19 Apr 91 20:41:40 GMT References: <1991Apr14.193335.26288@ddsw1.MCS.COM> <1991Apr16.235122.26807@scuzzy.in-berlin.de> Reply-To: jim@segue.segue.com (Jim Balter) Organization: Segue Software, Inc. - Santa Monica, CA. +1-213-453-2161 Lines: 16 In article <1991Apr16.235122.26807@scuzzy.in-berlin.de> src@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.