-frepo vs. Borland model
Jason Merrill
jason@cygnus.com
Tue Sep 16 09:33:00 GMT 1997
>>>>> Joe Buck <jbuck@synopsys.com> writes:
> From: Yotam Medini <yotamm@tmai.com>
>> > I also prefer the Borland method, provided the linker can support it.
>> > That is to ignore multplied defined methods.
>> > Is such linker is in egcs's scope?
>> Just for you, voila, presto, it has been added, please get and use GNU
>> ld, with ELF. :-)
> For anyone confused by Mike's witty reply: any linker that can handle
> weak symbols will do, and older versions of GNU ld, as well as vendor
> linkers on SVR4-style systems, will work fine. This is not "in egcs's
> scope" since the work was performed well before egcs began.
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.
Jason
More information about the Gcc
mailing list