我正在绑定一个交叉编译,为此我需要找到 Xcode 放置 arm-gcc 编译器的位置。
它曾经位于 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 中,但在 Xcode 5 中消失了。
有任何想法吗?
使用较新的 clang 编译器,如下所示:-
对于抄送:
xcrun -find -sdk iphoneos clang
对于CXX:
xcrun -find -sdk iphoneos clang++
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)