How to cross-compile LLVM/Clang for iOS?


I’d like to use libclang in my iOS app, so how can i cross-compile LLVM/Clang for iOS?

Regards, Anton.

According to what I know, Apple will not let you use shared libraries in an app, making your project more difficult, as you’ll need a static library to embed.
You can check out the clang package available at Source Browser and see if it’s possible to use the crosscompiling option (make install-cross, iirc)