Hi Jean-Daniel,<br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 12:46 AM, Jean-Daniel Dupas <span dir="ltr"><<a href="mailto:devlists@shadowlab.org" target="_blank">devlists@shadowlab.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
While compiling clang+compiler-rt using autoconf/make, the build system first build the compiler, and then use it to build compiler-rt.<br>
<br>
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.<br></blockquote><div>Yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
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 ?<br>
</blockquote><div><br></div><div>Yes, currently CMake lacks support for using just-built clang for building compiler-rt. This feature request appears now quite often. I've created <a href="http://llvm.org/bugs/show_bug.cgi?id=14109">http://llvm.org/bugs/show_bug.cgi?id=14109</a> to track this.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
-- Jean-Daniel<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>