如何在Xcode 5上找到arm-apple-darwin#-llvm-gcc-4.2编译器? [英] How to find arm-apple-darwin#-llvm-gcc-4.2 compiler on Xcode 5?
问题描述
我正在交叉编译,为此我需要找到Xcode放置arm-gcc compiller的位置。
它曾经位于/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm -gcc-4.2,但它在Xcode 5中消失了。
任何想法?
用于CC:
xcrun -find -sdk iphoneos clang
for CXX:
xcrun -find -sdk iphoneos clang ++
I am tying a cross compilation and for that I need to find where Xcode have placed the arm-gcc compiller.
It used to be in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 but it has vanished in Xcode 5.
Any Ideas?
Use the newer clang compiler instead like this: -
for CC: xcrun -find -sdk iphoneos clang
for CXX: xcrun -find -sdk iphoneos clang++
这篇关于如何在Xcode 5上找到arm-apple-darwin#-llvm-gcc-4.2编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!