在Mac中選擇gcc使用版本
扫描二维码
随时随地手机看文章
$ 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
扫描二维码
随时随地手机看文章
$ 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