[cfe-dev] Cross-compile llvm/clang for ios simulator?

Anton Smirnov dev at antonsmirnov.name
Tue Jun 3 03:25:53 PDT 2014


export CC="clang -arch i386 -mios-version-min=5.0 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
export CXX="clang++ -arch i386 -mios-version-min=5.0 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
../llvm_34_ios/configure
--prefix=/Users/admin/llvm_34_ios_i386_installed
--host=i386-apple-darwin11 --enable-optimized --disable-assertions

unset CC CXX

make

i'm getting error:

llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td
error:ERROR: Couldn't find the `Intrinsic' class!

make[1]: *** [/Users/admin/Documents/dev/src/llvm_34_build_i386/lib/IR/Release/Intrinsics.gen.tmp]
Error 1


Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140603/a4c2dc16/attachment.html>


More information about the cfe-dev mailing list