<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I’m trying to create a non-gcc toolchain (i.e., no libstdc++ or gcc involved).  I began here: <a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a><div><br></div><div>I successfully built Clang with these steps.  Next up is libcxx, so I went here: <a href="http://libcxx.llvm.org">http://libcxx.llvm.org</a></div><div><br></div><div>It seems that if I want to build a non-gcc toolchain, I should follow the directions listed here:<br><h2 style="padding-top: 0.5em; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; background-color: rgb(255, 255, 255); position: static; z-index: auto;"><font color="#009051">"Build on Linux using CMake and libc++abi.</font></h2><div><font color="#009051"><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);">You will need to keep the source tree of </span><a href="http://libcxxabi.llvm.org/" style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);">libc++abi</a><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"> available on your build machine <u>and your copy of the libc++abi shared library</u> must be placed where your linker will find it."</span></font></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);">OK, so I went to the libcxxabi page here: </span><a href="http://libcxxabi.llvm.org">http://libcxxabi.llvm.org</a></div><div><br></div><div><font color="#222222" face="Lucida Grande, Lucida Sans Unicode, Arial, Verdana, Helvetica, sans-serif" size="2"><span style="line-height: 19px;">I see no </span></font>instructions how to build libcxxabi… There does seem to be a “buildit” inside of libcxxabi/lib, but what envvars / parameters should I feed it?  For example, do I need to set the triple?</div><div><br></div><div>Again, I have already built Clang 3.5 successfully using GCC, so I’m wondering also if I need to build libcxxabi and/or libcxx using Clang or GCC?</div><div><br></div><div><br></div><div><br></div><div><div>My platform:  </div><div><span style="background-color: rgb(0, 0, 0); color: rgb(41, 249, 20); font-family: 'Andale Mono';">uname -a</span></div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">Linux ubuntu 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux</div><div><br></div></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);">Thanks!</span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="color: rgb(34, 34, 34); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, Helvetica, sans-serif; font-size: small; line-height: 19px; background-color: rgb(255, 255, 255);"><br></span></div></div></body></html>