Displaying 1 result from an estimated 1 matches for "dcmake_system_processor".
Did you mean:
cmake_system_processor
2020 Nov 10
1
Building an LLVM cross-compiler
...C_COMPILER_WORKS is something I've never heard of.
I'm also working on building a clang-based toolchain from scratch.
To avoid CMake bailing out when a binary can't be linked, I use:
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY
Along with:
-DCMAKE_SYSTEM_NAME="Generic"
-DCMAKE_SYSTEM_PROCESSOR="powerpc"
Best Regards,
Vlad