<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 1, 2014 at 11:02 AM, "René J.V. Bertin" <span dir="ltr"><<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
On Mar 01, 2014, at 16:36, Brandon Allbery wrote:<br>
</div>That seems to apply more to using "more recent LLVM/Clang" on 10.8 and earlier (is clang-3.3 "more recent" or "older"?) than on using recent gcc versions on 10.9 ... but it looks like the real bottleneck is not the copyright flavour but binary (in)compatibility between regular (old?) C++ </blockquote>
<div><br></div><div>The copyright comes in because the compatible libstdc++ is GPL3 so Apple refuses to ship or support it.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That I can understand, but what exactly does it mean for using gcc in one's own projects?</blockquote></div><div><br></div><div>Use with care, don't expect C++ stuff built with g++ to work with Apple's libraries. (gcc later than 4.2 uses the license-incompatible libstdc++, which is why Apple froze gcc at 4.2 in xcode for so long.) C-only stuff is probably okay. But you can't generally get away with using gcc for C and clang++ for C++ in a mixed language project, and there isn't that much out there in C++ that doesn't have some C glue somewhere because most libraries are in C.</div>
<div><br></div><div>I'm not up on the full extent of the incompatibility, but there are a lot of bug reports resulting from attempting to mix g++ compiled stuff with Apple libraries with Xcode 5 so apparently there are more than just license issues involved.</div>
<div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>