Gold linker

From ArchWiki
Revision as of 07:48, 3 June 2014 by Unhammer (talk | contribs) (via http://llvm.lyngvig.org/Articles/How-to-Enable-the-Gold-Linker-on-Arch-Linux)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Gold linker is a newer and reportedly faster linker than the standard GNU ld linker. It is included in the binutils package.

To use the GOLD linker, simply

export LD=ld.gold

Alternatively, if your $PATH has /usr/local/bin before /usr/bin, you can do

ln -s /usr/bin/ld.gold /usr/local/bin/ld