Displaying 1 result from an estimated 1 matches for "dcmake_c_compiler_work".
Did you mean:
dcmake_c_compiler_works
2020 Nov 06
1
Building an LLVM cross-compiler
...dlltool) and static libraries, so libclang_rt
isn't needed yet. (The autoconf scripts for these bits define
AC_NO_EXECUTABLES, which avoids bailing out due to the compiler not being
able to link an executable.)
After this step, I build the compiler-rt builtins, and this is configured
with -DCMAKE_C_COMPILER_WORKS=1 to (iirc) make it not bail out even though
the toolchain still can't link anything. After building the compiler-rt
builtins, and installing them, the toolchain finally is complete enough to
link a working C program.
After this stage, higher level runtimes like libc++ can be built on top,...