Borland model, Gnu-ld 2.8

Jason Merrill jason@cygnus.com
Tue Sep 16 14:53:00 GMT 1997


>>>>> Yotam Medini <yotamm@tmai.com> writes:

>> But wait, there's more!  With GNU ld 2.8, the linker will discard the
>> duplicates, like Borland's.  Older versions, and other ELF linkers, keep all
>> copies even though only one is actually used.

> Very nice! So could you please clarify:

>  * Should we build GNU ld 2.8 on all platforms ?

This only applies to SVR4ish ELF targets like Linux and Solaris.

>  * When building egsc's g++, how do we tell it to use that great 'ld' ?

Just put it first in your path, or make a link from it to collect-ld in the
gcc install directory.

Jason



More information about the Gcc mailing list