自从我更新到Xcode5后,终端中的gcc被别名为clang。现在我已经通过HomeBrew安装了gcc 4.8,那么我如何在终端中使用gcc,也就是说,如何取消gcc对clang的别名? 如果我输入
gcc --version
我会获取
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
那么我该如何在终端中使用gcc呢?谢谢 :)