This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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} ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]