On Jul 17, 2013, at 01:04, MacPorts <[email protected]> wrote:

> Page "UsingTheRightCompiler" was changed by [email protected]
> Diff URL: 
> <https://trac.macports.org/wiki/UsingTheRightCompiler?action=diff&version=20>
> Revision 20
> Comment: create table of compilers

> +||= configure.compiler value        =||= Compiler                      =||= 
> Provided by                    =||
> +||=apple-gcc-4.0                    =|| Apple GCC 4.0                   || 
> MacPorts (apple-gcc40)           ||
> +||=apple-gcc-4.2                    =|| Apple GCC 4.2                   || 
> MacPorts (apple-gcc42)           ||
> +||=cc                               =|| Generic C compiler              || 
> System                           ||
> +||=clang                            =|| Clang / Apple LLVM Compiler     || 
> Xcode                            ||
> +||=gcc                              =|| GCC                             || 
> System                           ||

Provided by system? Isn't it provided by Xcode?

On Mountain Lion, /usr/bin/gcc is not GCC. It is a symlink to llvm-gcc-4.2. It 
varies by Xcode version. As does /usr/bin/cc, which on Mountain Lion is a 
symlink to clang.

> +||=gcc-3.3                          =|| GCC 3.3                         || 
> Xcode                            ||
> +||=gcc-4.0                          =|| Apple GCC 4.0                   || 
> Xcode                            ||
> +||=gcc-4.2                          =|| Apple GCC 4.2                   || 
> Xcode                            ||
> +||=llvm-gcc-4.2                     =|| LLVM-GCC 4.2                    || 
> Xcode                            ||

Might be nice to add Xcode version info.


_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to