[cfe-dev] is configure+make dead yet?

Anton Korobeynikov anton at korobeynikov.info
Thu Jun 21 13:45:01 PDT 2012


Hi Bill,

> Hi,  Bill Hoffman from the CMake team.  Just wanted to add a bit to
> this.  CMake has support for cross compiling:
>
> http://www.cmake.org/Wiki/CMake_Cross_Compiling
There are no doubts that cmake does support cross compilation by
itself, the problem is that llvm build system is a bit more complex
than just "build everything with given compiler".

In particular several libraries and tools are built in the beginning
in order to be used later during build process. So, in
cross-compilation case they need to be compiled for both build and
host platform (with separate configurations), so, as it seems to me,
just setting toolchain variable won't work.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the cfe-dev mailing list