Has anyone tried to use gold instead of ld
?
gold
promises to be much faster than ld
, so it may help speeding up test cycles fo
As a Samba developer, I have been using the gold linker almost exclusively on Ubuntu, Debian, and Fedora since several years now. My assessment:
I have not used gold selectively, but have been using symlinks or the alternatives mechanism if the distribution provides it.
Can gcc/g++ directly call gold.?
Just to complement the answers: there is a gcc's option -fuse-ld=gold
(see gcc doc). Though, AFAIK, it is possible to configure gcc during the build in a way that the option will not have any effect.