10.9 and compiler

Lawrence Velázquez larryv at macports.org
Sun Nov 17 13:57:14 PST 2013


On Nov 17, 2013, at 4:42 PM, Blair Zajac <blair at orcaware.com> wrote:

> On Nov 17, 2013, at 1:35 PM, Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> 
>> On 17 Nov 2013, at 9:07pm, Blair Zajac <blair at orcaware.com> wrote:
>> 
>>> Can we not use blacklists on 10.9?  Do we need to always use clang?  Or is that only for C++ code that we have to use clang?
>> 
>> On 10.9, clang is the only system compiler. So for OSX 10.9, you need to use clang, for C C++, Obj-C etc.
> 
> Thanks.  Technically, one could use gcc for C code, since it doesn’t link against any C++ runtime???

Strictly speaking, MacPorts GCC is okay for C++ projects that don't export objects or use external objects. It's also fine for C.

Of course, the goal is to get all ports to compile properly with Clang.

vq


More information about the macports-dev mailing list