forcing the linker to be a particular one (i.e. gold vs bfd)
Basile Starynkevitch
basile@starynkevitch.net
Mon Oct 11 00:04:00 GMT 2010
On Sun, 10 Oct 2010 23:03:53 +0200
Eric Botcazou <ebotcazou@adacore.com> wrote:
> > Thanks for the tip! Perhaps we should add a sentence about it in the
> > documentation?
>
> -B is already documented in "Options for Directory Search":
>
> `-BPREFIX'
> This option specifies where to find the executables, libraries,
> include files, and data files of the compiler itself.
>
> The compiler driver program runs one or more of the subprograms
> `cpp', `cc1', `as' and `ld'. It tries PREFIX as a prefix for each
> program it tries to run, both with and without `MACHINE/VERSION/'
> (*note Target Options::).
>
I was thinking to add a sentence like "The -BPREFIX option can be
useful to force a particular ld to be used" in the Linker options
section. But maybe that is not a good idea.
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} ***
More information about the Gcc
mailing list