speedup collect2 (by not using it)

John David Anglin dave@hiauly1.hia.nrc.ca
Fri May 23 00:29:00 GMT 2003


> But in any case, isn't this a bit tangential to the question Mike
> asked?  He asked what happens on systems where USE_COLLECT2
> *isn't* defined, and you're talking about systems where it is (or at 
> least
> was) defined.

Actually, I think that Mike's patch won't work on hppa64-hp-hpux11*.
It appears that gcc falls back to just using "ld" when it doesn't
run collect2.  This will fail because we have multiple linkers
and at least two supported linkers for the hppa64 port itself.
Thus, gcc will need to use the same linker selection mechanism
as collect2 in determining which linker to run.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc mailing list