在FreeBSD中建立Gold链接器 [英] Building Gold linker in FreeBSD

查看:802
本文介绍了在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

这篇关于在FreeBSD中建立Gold链接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆