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)
On Sun, 10 Oct 2010 21:25:30 +0200 (CEST)
Marc Glisse <marc.glisse@inria.fr> wrote:
[citing me Basile]
> > Or, if there is some other way (excluding dirty PATH manipuation),
> > document it better perhaps in
> > http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options
>
> On Debian (since this is the system you mention), you can just use:
> gcc -B/usr/lib/compat-ld
> gcc -B/usr/lib/gold-ld
> to select the ld you want.
Thanks for the tip! Perhaps we should add a sentence about it in the documentation?
Cheers
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***