POSIX and ISC 2.2.x -- and gcc?
Jim Balter
jim at segue.segue.com
Sat Apr 27 18:44:07 AEST 1991
In article <544 at jahangir.UUCP> marc at jahangir.UUCP (Marc Rossner) writes:
>In article <7209 at segue.segue.com>, jim at segue.segue.com (Jim Balter) writes:
>> In article <7193 at segue.segue.com> I write:
>> >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.
>>
>> My editor or my fingers hiccuped. That should have been /lib/pcrt1.o
>
>
>Maybe my question belongs better on a gnu newsgroup, but how can I get my
>gcc (1.39) to get ld to link /lib/pcrt1.o in a similar fashion to cc -Xp?
gcc 1.39 has -posix. With earlier versions, you can do
gcc -nostdlib /lib/crtp1.o ... -lcposix -lc
(Yes, I got this wrong twice. Sigh. pcrt1.o is for profiling. But crtp1.o is
right for posix. I promise.)
More information about the Comp.unix.sysv386
mailing list