Temporarily Disabling Gold Linker on Ubuntu

天大地大妈咪最大 提交于 2019-12-10 18:01:09

问题


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


回答1:


/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



来源:https://stackoverflow.com/questions/7380124/temporarily-disabling-gold-linker-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!