search for: cmake_cross_compiling

Displaying 2 results from an estimated 2 matches for "cmake_cross_compiling".

2016 Feb 11
2
Guidance on cross compiling LLVM with mingw-w64 and cmake
The CrossCompile module is in a perpetual state of "when I get a chance...", and desperately needs some cleanup. The problem you are hitting is caused by setting CMAKE_SYSTEM_NAME. When you set that CMake sets a variable CMAKE_CROSS_COMPILING. That variable should only be set when your host OS doesn't match your target OS. Since LLVM needs to build host-capable tools there is some goop to call out and configure a new CMake build directory to target the host. -Chris > On Feb 10, 2016, at 6:20 AM, Mike Edwards <mike at sqlby.m...
2016 Feb 10
4
Guidance on cross compiling LLVM with mingw-w64 and cmake
I need to build libLLVM (individual static libraries are fine at the moment) using mingw-w64 cross compilers, i686-w64-mingw32-gcc and (separately) x86_64-w64-mingw32-gcc. I'd like this to work from both Linux and Cygwin build environments. With autotools, this worked fine: ../configure --host=i686-w64-mingw32 and that's it (with mingw32-gcc-c++ installed on Fedora 23, also works fine on