Displaying 1 result from an estimated 1 matches for "cmake_crosscompil".
2012 Dec 13
2
[LLVMdev] Cross compile LLVM
Hi;
I am trying to cross compile LLVM for Android-NDK;
I am using CMake as a build system; hence, i have defined CMAKE_SYSTEM_NAME
variable so to turn on CMAKE_CROSSCOMPILING flag, being used by LLVM.
As far as i understand from the LLVM structure; when cross compiling,
executable are generated with two versions; one goes under the target build
directory ${CMAKE_BINARY_DIR} and the other goes into
${CMAKE_BINARY_DIR}/native/....
We i do that, i get all the tblgen +...