On Fri, 20 May 2016 21:37:31 +0100
Ken Moffat <[email protected]> wrote:

> > Will ld.gold be used by anything unless ld is ld.gold, or that you set LD to
> > ld.gold?

GCC has the linker option -fuse-ld and can be set to use bfd or gold. Default 
will be bfd unless users make gold the default when installing binutils.

As you mentioned, setting LD=ld.gold will use gold when using a Makefile which 
will use that variable.

https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

Sincerely,
 
William Harrington
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to