[PATCH] Rename pwait for LynxOS

DJ Delorie dj@redhat.com
Tue Aug 17 21:20:00 GMT 2004


> The other hack I can think of is to take care of this whole thing in
> GCC.  That is to somehow tell GCC that when building for LynxOS it
> should use waitpid instead of pwait.  For example only rename pwait
> inside GCC to let's say gcc_pwait and then provide a LynxOS-specific
> module under config and a corresponding x-lynx file for the makefile
> fragment.  What do you think?

Personally, I'd let LynxOS remain broken until they fix their libc.
Their fault, their fix.  But that's just me.

Can we fix collect2 so it no longer calls system()?  It's supposed to
call pexecute to run things, to avoid shellisms in system() and
popen().



More information about the Gcc-patches mailing list