d****p 发帖数: 685 | 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. | r*********r 发帖数: 3195 | 2 use macports, it has up to gcc 4.5 beta | d****p 发帖数: 685 | 3 Thanks.
Looks like it is difficult to upgrade GCC directly on OS X after googling a
bit. | r*********r 发帖数: 3195 | 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. | t****t 发帖数: 6806 | 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.
| r*********r 发帖数: 3195 | 6 linux 上 gcc 3.2 之后 ABI 基本没变过, 当然比较容易了. |
|