开发者

Temporarily Disabling Gold Linker on Ubuntu

I'm trying out the Gold Linker to see if it will improve link time of our application. And it does, significantly. Occasionally, I need to use the GNU Linker. How would I go about doing this?

I am using Ubuntu 10.04 and I installed the Gold Linker from the package 开发者_如何转开发manager.

Thanks


/usr/bin/ld is just a symlink to whichever your actual linker is. Check to make sure that /usr/bin/ld on your system is just a symlink to ld.gold. If it is, then you can just do ln -sf ld.bfd /usr/bin/ld

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜