search for: cmake_c_compiler_work

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

Did you mean: cmake_c_compiler_works
2020 Nov 10
1
Building an LLVM cross-compiler
Just a note about this: >I like this. I hope you don't mind if I borrow some of these ideas to >play with. 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:
2015 Nov 02
2
[RFC] Strategies for Bootstrapping Compiler-RT builtins
> On Nov 2, 2015, at 10:10 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote: > >> Today building this toolchain with CMake is impossible because you cannot configure the cross-compiled builtins. The failure is a result of CMake’s try_compile function always testing a full compile then link operation. When bootstrapping a cross-compiler this will always fail because