How to cross-compile clang/llvm 3.7.0 for iOS8.x on ipad mini 3?
问题 EDIT, 2015-10-24. This finally worked : ../configure --prefix=/usr/local/lvm-cross/llvm-ios --with-default-sysroot=/usr/local/iPhoneOS8.4.sdk --host=arm-apple-darwin11 --enable-optimized --disable-assertions --disable-libedit with clang -isysroot /usr/local/iPhoneOS8.4.sdk/ -target arm64-apple-darwin11 testcpp.cpp -o testcpp where testcpp.cpp contains : int main() { return 0; } Now if I modfified the source code simply as follows : #include <iostream> // I am not even calling << operator in