Purpose --enable-gold when configuring gcc

When building gcc 5.1 from the source, the configure script contains the following option:

--enable-gold[=ARG]     build gold [ARG={default,yes,no}]

What does it mean? Does this tell gcc to use gold as a linker if gold is mounted on the box? If so, does he expect gold to be the default linker, or should I point to gold with

--with-ld=<path/to/linker>

option?

I could not find a link to --enable-gold in gcc configure online docs.

Thank!

+4
source share
1 answer

GCC shares its top-level configurescript with some other GNU projects, notably Binutils and GDB .

--enable-gold is an option for binutils that talks about creating

+6
source

All Articles