configuring gcc 4.6 to use gold for LTO plugin

Ian Lance Taylor iant@google.com
Tue Jun 7 13:58:00 GMT 2011


Jonathan Wakely <jwakely.gcc@gmail.com> writes:

> This is because I don't have an in-tree ld and "ld --version 2>&1 |
> fgrep plugin-opt" fails, so $gcc_cv_lto_plugin=no

You mean ld --help, don't you?  Does your gold --help show --plugin-opt?
It should.  If it doesn't, then that's the first thing to fix.  What
version of gold are you using?  You didn't somehow configure the
binutils with --disable-plugins, did you?

Ian



More information about the Gcc-help mailing list