avatar
gcc 4.3(or +) on Mac OS 10.6# Programming - 葵花宝典
d*p
1
Want to try some C++0x stuff with GCC. However Snow Leopard only ships 4.2.1
. Anyone has experience
installing gcc 4.3+ on os x?
Thanks.
avatar
r*r
2
use macports, it has up to gcc 4.5 beta
avatar
d*p
3
Thanks.
Looks like it is difficult to upgrade GCC directly on OS X after googling a
bit.
avatar
r*r
4
it's always very difficult to upgrade the compiler, even on linux,
since the newer glibc usually breaks the whole system.
apple modified a lot of the linker, since it uses Mach-O format,
instead of ELF. so it's even harder.
avatar
t*t
5
我怎么觉得一般linux上没什么麻烦的, 就算distri不提供升级包, 你也可以自己下一
个gcc来编译安装到/usr/local. 我干过好多次了, gcc3->gcc4都干过, 何况这个只是4
.2->4.3.
osx我就没试过.

【在 r*********r 的大作中提到】
: it's always very difficult to upgrade the compiler, even on linux,
: since the newer glibc usually breaks the whole system.
: apple modified a lot of the linker, since it uses Mach-O format,
: instead of ELF. so it's even harder.

avatar
r*r
6
linux 上 gcc 3.2 之后 ABI 基本没变过, 当然比较容易了.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。