<div dir="ltr">On Mon, Jun 24, 2013 at 3:12 AM, Shriramana Sharma <span dir="ltr"><<a href="mailto:samjnaa@gmail.com" target="_blank">samjnaa@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I have now successfully compiled and linked libcxx against all three<br>

of libsupcxx, libcxxabi and libcxxrt. Any suggestions on which one I<br>
should actually use with clang? I seem to have read somewhere that<br>
clang is setup to libsupcxx by default for compatibility with GCC or<br>
something like that? So would it be preferable to use the version<br>
built against libsupcxx?<br></blockquote><div><br></div><div style>Interfacewise, libsupc++, libc++abi, and libcxxrt are all equivalent (or should be).</div><div style><br></div><div style>License-wise, libc++abi and libcxxrt are BSD-like, while libsupc++ is GPL with runtime exception.</div>
<div style><br></div><div style>libcxxrt is slightly easier to bootstrap because it's self-contained C/C++ code depending only on the C standard library, whereas libc++abi is a bit funny because it in turn depends on some C++ library headers.<br>
</div><div style><br></div><div style>libcxxrt is smaller than libc++abi, but libc++abi's symbol demangler is more spec compliant than libcxxrt's.  (In fairness, libcxxrt's demangler is mostly taken from libelftc, and the libcxxrt developers intend to improve/replace it.)</div>
<div style><br></div><div style>Both libc++abi and libcxxrt's developers have been very responsive to reported issues.</div></div></div></div>