MacPorts and clang

Ryan Schmidt ryandesign at
Thu Mar 3 07:48:40 PST 2011

On Mar 3, 2011, at 09:40, Jack Howarth wrote:

>  Are there any plans to attempt to move MacPorts towards
> building with clang once Xcode 4 is released? Considering that
> we have so many packages supporting gcc4x variants to build with
> FSF gcc, it seems strange not to do the same for clang.
>             Jack
> ps I assume that Xcode 4 won't be held up until Lion is released so
> these clang variants could be first done on Snow Leopard. It is unclear
> from
> if the clang c++ support in Xcode 4.0 will use the existing libstdc++
> or the new libc++ instead. It would be nice if it were the latter.

Ports build with the standard Xcode gcc compilers unless there is a good reason not to. The reason why many ports have variants to use MacPorts gcc compilers is not because they particularly want to use the MacPorts gcc C or C++ compilers, but because they want to use a Fortran compiler, which Xcode doesn't provide.

More information about the macports-dev mailing list