http://*.com/questions/837992/update-gcc-on-osx点击打开链接
$ sudo port select --list gcc
Available versions for gcc: gcc42 llvm-gcc42 mp-gcc46 none (active)
To set gcc to the MacPorts version:
$ sudo port select --set gcc mp-gcc46
http://*.com/questions/837992/update-gcc-on-osx点击打开链接
$ sudo port select --list gcc
Available versions for gcc: gcc42 llvm-gcc42 mp-gcc46 none (active)
To set gcc to the MacPorts version:
$ sudo port select --set gcc mp-gcc46