This is the mail archive of the
mailing list for the GCC project.
Re: egcs (1.1.1) for BSD/OS 4.0
Jeffrey A Law <email@example.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...