Gold

gold is Article description::a new linker intended as a replacement for the linker.

The two installed linkers are available directly as and  respectively. Additionally, the default linker is also installed as - and this binary is used by compilers.

Installation
Gold can be enabled by setting the  USE flag for. Additionally, setting  will make  the default linker.

After setting the USE flags, re-install binutils:

The easy way
The package can be used to set the default:

If using crossdev, the linker for a cross-compile toolchain can be switched by additionally providing the. For example, to switch the  linker back to, run:

The hard way (manually)
The default linker can be changed immediately by linking to  in the  directory.

Hard link:

Symbolic link: