gcc49 vs gcc48

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Nov 18 10:16:53 PST 2014


On 18/11/14 18:12, René J.V. Bertin wrote:
> On Tuesday November 18 2014 17:57:55 Chris Jones wrote:
>
>> the portfile has been setup to use by the port maintainer. Specifically,
>> forcing the use of gcc to build c++ code is very problematic due to the
>> much discussed runtime issues, and consequently very unsupported.
>
> This is on 10.6.8, where the C++ runtime issues are in fact more with clang. Using a recent GCC is the only sort-of-reliable way to build C++11 code.

Not true. In the ROOT6 port we use MacPorts clang (3.4) compiler on 
OSX<10.9 in order to support c++11. using clang as opposed to gcc is 
better as it avoids the c++ runtime issue better (not entirely but much 
better).



More information about the macports-users mailing list