Mac 上编译 glibc 时出错
我正在尝试在我的 mac (os x 10.6.6) 上将 glibc 编译为: ../glibc-2.13/configure --prefix=/dev1/cu
但它提出:
configure: running configure fragment for add-on build.glibc
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: $CXX
configure: error: unrecognized option: `-c'
请帮忙
I'm trying to compile glibc on my mac (os x 10.6.6) as: ../glibc-2.13/configure --prefix=/dev1/cu
but its coming up with:
configure: running configure fragment for add-on build.glibc
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: $CXX
configure: error: unrecognized option: `-c'
Please help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
-c 通常是一个选项,指定您还不想链接文件。据我所知,至少所有最新版本都支持这一点。你能试着算出 $CXX 的价值是多少吗?这告诉我们更多关于你的编译器的信息。
-c is typically an option which specifies that you do not want to link the files yet. This is supported by at least all recent versions as far as I'm aware. Could you try to figure out what the value of $CXX is? That tells us more about your compiler.