[cfe-dev] CMake and compiler-rt

Jean-Daniel Dupas devlists at shadowlab.org
Tue Oct 16 13:46:50 PDT 2012


Hello,

While compiling clang+compiler-rt using autoconf/make, the build system first build the compiler, and then use it to build compiler-rt.

This is convenient as it allows to build a compiler and runtime libraries for architectures that are not supported by the host compiler in the first place.

While trying to build clang+compiler-rt using cmake, the build system compiles the runtime libraries at the beginning using the host compiler (and failed to included all target architectures). Is it possible to get the same behavior than the autoconf system, or is it a current limit of the cmake build system ? 

Thanks
-- Jean-Daniel







More information about the cfe-dev mailing list