port select --list gcc返回none(active)

vaj*_*oja 6 gcc

我正在运行Yosemite并在其上安装了xcode 6.1.我还用brew install gcc命令手动安装了gcc.

但是当我运行port select --list gcc命令时,它会返回以下消息

 Available versions for gcc:
       none (active)
Run Code Online (Sandbox Code Playgroud)

gcc版本显示了与LLVM的铿锵声.gcc --version配置: - prefix =/Volumes/DEV/Applications/Xcode.app/Contents/Developer/usr - with-gxx-include-dir =/usr/include/c ++/4.2.1 Apple LLVM版本6.0(clang-600.0.54)(基于LLVM 3.5svn)目标:x86_64-apple-darwin14.0.0线程模型:posix