在FreeBSD中建立Gold链接器
我按照 http://llvm.org/docs上的步骤操作/GoldPlugin.html#lto-how-to-build 在FreeBSD上构建gold插件,但是!
I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but !
有一个指向错误屏幕截图的链接: http://postimg.org/image/anlpuufbl/
Heres a link to the screenshot of the error:http://postimg.org/image/anlpuufbl/
这是它显示的错误消息,所以我也无法得到ld-new。
我选中,并且没有在etc / make.conf中设置CFLAGS。
This is the error message that it shows and so I am also unable to get ld-new. I checked and no CFLAGS were set in etc/make.conf.
如何继续安装?
我使用FreeBSD 10.1提供的deault clang版本。
How to proceed with the installation? I am using the deault clang version supplied with FreeBSD 10.1.
您可能需要 /etc/make.conf中的LDFLAGS = -fuse-ld = gold -flto