मैं और अधिक हाल के संस्करण (जहां उपकरण वास्तव में Xcode.app pkg में हैं के खिलाफ का जवाब दे रहा हूँ, लेकिन मैं यकीन है कि पथ और आउटपुट द्वारा दिया कि अगर कर रहा हूँ xcode-select -p, gcc -vऔर llvm-gcc -v/clang -vकर रहे हैं सामंजस्यपूर्ण तो वे एक ही होना चाहिए, यानी
$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
$ llvm-gcc -v
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
$ clang -v
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
ध्यान दें कि llvm-gcc एक कड़ी है,
$ls -al /usr/bin/llvm-gcc
lrwxr-xr-x 1 root wheel 5 Oct 19 2014 /usr/bin/llvm-gcc -> clang
इसलिए इसका उत्पादन llvm-gcc -vऔर clang -vसमान होना चाहिए, हालांकि आपके लिए यह मामला हो या न हो ( कुछ और विवरणों के लिए /programming//a/5708732/602581 देखें)
xcode command line tools installed versionलेकिन बहुत सारे अप्रासंगिक मैच मिले। Btw, क्या डॉग जी का जवाब आपके लिए काम आया?