egcs (1.1.1) for BSD/OS 4.0

Chris P. Ross cross@eng.us.uu.net
Tue Mar 2 08:24:00 GMT 1999


Jeffrey A Law <law@hurl.cygnus.com> said:
>> So far as I can tell, neither LINK_SPEC or LIB_SPEC allow you to
>> effect how ld is invoked.  They appear to just be args to the linker.
>> Am I incorrect in this?

> But because they effect the args you pass to the linker you can ensure that
> the linker searches the right directories and libraries.

  Ick.  You're right, of course, but it's really uglier than I'd hoped
to find.  Hmm.  Ponderances abound.

  The gcc that ships with BSD/OS 4.0 simply invokes "ld" as it's
linker.  I'd assumed it wasn't hacked to do that, and that that was a
normal behaviour.  You're saying it's not possible to configure egcs
(ala collect2) to do this?  It seems not an unreasonable thing to add
as an option...

                      - Chris


More information about the Gcc-patches mailing list