<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 August 2013 12:59, Tom Browder <span dir="ltr"><<a href="mailto:tom.browder@gmail.com" target="_blank">tom.browder@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I want to start using clang and clang++ but have a few questions:<br>
<br>
1.  Has anyone a working, general solution for driving a CMake-built<br>
project with clang or clang++ (using build directories not polluted by<br>
gcc/g++ attempts)?<br>
<br>
2.  Are clang- and clang++-built libraries and programs<br>
interchangeable with gcc- and g++-built libraries and programs?<br></blockquote><div><br>Yes. GCC and Clang implement the same ABI, any issues here is a bug either in GCC or in Clang.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
3.  Are clang- and clang++-built libraries and programs usable on<br>
another Linux host (same distro, both 64-bit) without LLVM installed?<br></blockquote><div><br>Yes. Clang built binaries don't inherently rely on llvm.<br><br>Nick<br><br></div></div><br></div></div>