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: Review of --enable-gold=both patch


On 29.10.2010 11:20, Nick Clifton wrote:
Hi Matthias,

OK. I suppose we could also have --with-default-linker=gold -- or
--enable :-) -- but I'm not worried about that.

Thanks again for your help with this.

the --enable-gold=both option is already in current binutils trunk, which will soon be released as binutils-2.21. Should this be changed before the binutils release, or should the binutils patch be kept as it is? Any recommendations how to update the patch and/or current binutils?

We should really make the 2.21 release support --with-default-linker= Would you care to submit a patch for this ?

to summarize:


- in binutils, --with-default-linker= should trigger which linker is
  built, and should determine which linker the ld symlink points to.

- if both linkers are built, the non-default linker build has to be
  enabled with either --enable-ld or --enable-gold.

- values (other than yes or no) passed to --enable-ld and --enable-gold
  are ignored.

Is this the consensus?

Matthias


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