This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: configuring gcc 4.6 to use gold for LTO plugin
- From: Ian Lance Taylor <iant at google dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 07 Jun 2011 06:51:06 -0700
- Subject: Re: configuring gcc 4.6 to use gold for LTO plugin
- References: <BANLkTinBCa3dKtAg3pz=c476=wLnAD8icw@mail.gmail.com>
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