This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: forcing the linker to be a particular one (i.e. gold vs bfd)
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Christophe Lyon <christophe dot lyon at st dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 25 Jan 2012 15:49:35 +0100
- Subject: Re: forcing the linker to be a particular one (i.e. gold vs bfd)
- References: <4F20151E.5070007@st.com>
On Wed, Jan 25, 2012 at 3:43 PM, Christophe Lyon <christophe.lyon@st.com> wrote:
> Hello,
>
> In a one year old thread, there was a discussion about a patch adding
> -fuse-ld=gold and -fuse-ld=bfd options to GCC.
>
> It seems the GCC part of the patch was never actually committed, as there
> were some problems with LTO:
> http://sourceware.org/ml/binutils/2011-01/msg00287.html
>
> Unfortunately there was no detail about what these problems were.
>
> Could someone elaborate?
>
> Are there plans to actually bring such a feature?
You can change the linker used by adjusting your path or giving an
appropriate -B option to the gcc driver.
Richard.