OS X Yosemite (10.10.5)가 설치된 Mac에 gcc의 버전이 설치되어 있는지 혼란 스럽습니다. 또한 Xcode v6.3.1이 설치되어 있습니다. 지금까지 내가, GCC는 그 소리에 별칭되지 말할 수Mac에 설치된 gcc의 버전 (Yosemite)
gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
clang -v
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
which gcc
/usr/bin/gcc
which clang
/usr/bin/clang
: 아래의 명령을 입력
는다음과 같은 정보를 알 수있다.
누군가가 나에게이 사실을 가르쳐 주시겠습니까?
여기서'InstalledDir '에 대한 정보는 어디서 왔습니까? 나는'clang -v'를 실행할 때 그것을 보지 못합니다. – ksl
내 깡패가 너의 것보다 적어도 새로운 것 같아. 새로운 것 같아. 내 추측이야. xcode를 업데이트 해보십시오. – echristo