This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Support --enable-gold=both --with-linker=[bfd|gold]


Roland McGrath <roland@redhat.com> writes:

>> I'm still not entirely convinced that this is the way to go.  It seems
>> to me that ideally one wants to be able to select the linker at
>> runtime.  I don't see how this patch supports that.  What am I
>> missing?
>
> It covers the first step by letting you run "ld.bfd" or "ld.gold" to
> choose.  Having the two binaries installed by those names is a good start
> and seems likely to be part of how any fancier plan would work, so why not
> start there?

Mainly because an alternative is to install them in subdirectories
with the name ld.  Then gcc can run them directly using a -B option.
I don't know which approach is best.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]