[Releasing] Platform and Compiler configurations for Qt 5.0 beta release

Stephen Chu stephen at ju-ju.com
Mon Apr 30 15:59:58 CEST 2012


On 4/30/12 9:14 AM, Thiago Macieira wrote:
> On segunda-feira, 30 de abril de 2012 08.39.07, Stephen Chu wrote:
>> And I am sorry if this is a noob question but I can't find information
>> anywhere. What happens if I have some existing C/C++ libraries that were
>> built with gcc? Can those be linked against clang-generated code?
>
> The ABI is the same for both languages. C libraries can definitely be linked
> to.
>
> As for C++ libraries, the question is *which* C++ library they link to. Are
> they linking to GCC's libstdc++ or Clang's libcxx?
>

They are linked to gcc libstdc++. One interesting thing is there's no 
libc++ in 10.6. Code built with "Apple LLVM compiler 3.0" is linked 
against libstdc++.



More information about the Releasing mailing list