gcc/collect2.c patch

Mark E. snowball3@usa.net
Wed Mar 24 08:13:00 GMT 1999


> These are going to need a little work.

I've attached my reworked version. Here is a ChangeLog:

* gcc/config/i386/xm-djgpp.h (COLLECT2_INIT_SYS_DEPENDANT): 
New macro.
* gcc/collect2.c (main): Use it.
  (pexecute_pid): New variable. Holds return value from call to pexecute.
  (collect2_execute): Rework to use pexecute instead of fork.
  (collect2_wait): Use pwait() instead of wait().


--- 
Mark Elbrecht, snowball3@usa.net
http://snowball.digitalspace.net/



More information about the Gcc-patches mailing list