[cfe-users] clang, gcc, g++ ABI, and CMake

Tom Browder tom.browder at gmail.com
Mon Aug 12 03:53:03 PDT 2013


On Sun, Aug 11, 2013 at 9:28 PM, Nick Lewycky <nlewycky at google.com> wrote:
> On 11 August 2013 12:59, Tom Browder <tom.browder at gmail.com> wrote:
>>
>> I want to start using clang and clang++ but have a few questions:
...
>> 2.  Are clang- and clang++-built libraries and programs
>> interchangeable with gcc- and g++-built libraries and programs?
> Yes. GCC and Clang implement the same ABI, any issues here is a bug either
> in GCC or in Clang.
>> 3.  Are clang- and clang++-built libraries and programs usable on
>> another Linux host (same distro, both 64-bit) without LLVM installed?
> Yes. Clang built binaries don't inherently rely on llvm.

Thanks, Nick!

Best,

-Tom



More information about the cfe-users mailing list