configuring gcc 4.6 to use gold for LTO plugin
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Jun 7 14:26:00 GMT 2011
On 7 June 2011 14:53, Ian Lance Taylor <iant@google.com> wrote:
> Jonathan Wakely <jwakely.gcc@gmail.com> writes:
>
>> Oh ... or does all that configury only affect whether
>> -fuse-linker-plugin is enabled by default, and I can make it work with
>> gold by using -fuse-linker-plugin on the command line when I use
>> -flto?
>
> Yes, that is the only effect of the configure test, and, yes, it should
> work to use -fuse-linker-plugin by hand.
I tried that and got an error from gold saying -plugin was an unknown
option, so somehow my binutils build disabled plugins for gold but not
bfd.
More information about the Gcc-help
mailing list