So, on Windows, Clang(++) will always depend on either Mingw (or Microsoft, once the force_inline issue is resolved).  I'm only asking because the Windows norm is that the compiler ships with everything needed - tools, libraries, and headers.  <div>
<br></div><div>Assuming LLVM optimizes better than GNU, wouldn't it to some extent make sense to rebuild the GNU libraries using Clang(++) and then ship the result?  Or, perhaps, even rebuild the GNU C and C++ libraries into bitcode modules that are then link-time optimized once the user links?<br>
<div>
<br></div><div>Anybody know what the GNU license permits?  Would it be okay to take a Mingw64 build, replace the tools, and then ship the result?  </div><div><br></div><div>I must say that I feel that the whole procedure, from first stumbling across LLVM to building your own C++ program succesfully, is rather long.</div>

<div><br></div><div>Now I'm battling some unresolved symbols such as __imp_htonl.  The reference to htonl() is in my own code, but I am a "ld" newbie.  I seem to recall from the ancient past that "ld" is extremely peculiar about how you order your libraries.  Oh, well, I'll figure it out eventually.</div>
<div><br></div><div><br></div><div>Cheers,</div><div>Mikael<br><div>-- Love Thy Frog! </div><div><br></div><div class="gmail_quote">2012/5/28 Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Mon, May 28, 2012 at 07:42:12PM +0200, Mikael Lyngvig wrote:<br>
> Does Clang/Clang++ not have its own set of standard headers?  Isn't this a<br>
> serious issue if Clang/Clang++ is ever to outdo GCC/G++?  Is there any work<br>
> in progress on this?<br>
<br>
</div>It provides the compiler-centric headers. It doesn't replace the rest of<br>
the C runtime library. That wouldn't make much sense.<br>
<br>
Joerg<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br><br>
</div>
</div>