Alternative compiler for ObjC(++) with modern GCC #51
Replies: 1 comment 4 replies
-
You do not mention which OS versions .. which extensions, specifically?
I see,
It is intended that it should work - for Darwin9/10 (apart from bugs, of course) there should be no issue .. from Darwin11 the system supported native TLS - so you need to be careful about not mixing the two TLS implementations between TUs. AFAIR the C++11 support was maybe somewhat incomplete until MacOSX 10.8 (Darwin12) that was when Apple switched to defaulting to libc++ (/usr/lib/libstdc++.6.dylib from Apple is C++98 + some tr1 stuff). I do know that folks regularly mix gfortran and clang objects. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@iains There are a number of ports which fail to build specifically because the current GCC does not support Apple ObjC(++) extensions, even those which were supported by Xcode 3.2.6. At the same time when they require C11/C++11, building those with gcc-4.2 is not possible.
Will it work to use the current GCC (or the latest release) for everything besides ObjC(++), while using gcc-4.2 (or even some Clang?) for the latter?
This is mostly relevant, perhaps, for Qt-depending software, but also some GTK- and wxWidgets-.
Beta Was this translation helpful? Give feedback.
All reactions