[cfe-dev] CMake and compiler-rt

Alexey Samsonov samsonov at google.com
Wed Oct 17 09:17:45 PDT 2012


Hi Jean-Daniel,

On Wed, Oct 17, 2012 at 12:46 AM, Jean-Daniel Dupas
<devlists at shadowlab.org>wrote:

> 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.
>
Yes.


>
> 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 ?
>

Yes, currently CMake lacks support for using just-built clang for building
compiler-rt. This feature request appears now quite often. I've created
http://llvm.org/bugs/show_bug.cgi?id=14109 to track this.


>
> Thanks
> -- Jean-Daniel
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121017/7db0f422/attachment.html>


More information about the cfe-dev mailing list