This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 06/28/2010 06:13 PM, Mark Mitchell wrote:
>  Secondarily, the patch allows to choose which linker is used by default
>  (the choice between "--enable-gold=both/ld" and
>  "--enable-gold=both/gold").  Choosing the right option here is a tricky
>  choice, but I think it fits more into the "--enable" side.

Paolo, for avoidance of doubt, I'll stay out of this; you are, of course, eminently qualified to decide the desired interface. I think my key point was that I didn't like --enable-gold being abused to also enable/disable GNU ld, and I think you agree, so I'm entirely content.

I'm afraid we do need to "abuse" it to decide what linker will be the default. However, --enable-gold disabling ld is a wart of the current code that can be fixed (and should be fixed) with this patch.


If Joseph has comments on my proposal, I look forward to them.

I do think it would be good to get this functionality into GCC so that
people can more easily experiment with GOLD vs. your father's GNU linker.

Agreed 100%---however let's make sure we get the interface right the second time through.


Paolo


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