What is the preferred or recommended gcc version?

Darren Weber dweber at macports.org
Thu May 14 17:00:34 PDT 2009


This one is not in the FAQ, yet, so here we go.

Is there a general consensus, for the majority of ports without any specific
build dependency, on which version of gcc is preferred or recommended for
MacPorts?

The following gcc variants are available:

[ dweber at X ~ ]$ gcc_select -l
Available versions:
gcc40 mp-gcc42 mp-gcc43 mp-gcc44

[ dweber at X ~ ]$ ls -l /opt/local/bin/gcc* | sed -e 's/.*[0-9] \/opt/\/opt/'
/opt/local/bin/gcc -> /usr/bin/gcc-4.0*
/opt/local/bin/gcc-apple-4.2 ->
/opt/local/lib/apple-gcc42/bin/gcc-apple-4.2*
/opt/local/bin/gcc-mp-4.2*
/opt/local/bin/gcc-mp-4.3*
/opt/local/bin/gcc-mp-4.4*
/opt/local/bin/gcc_select*
/opt/local/bin/gccbug-mp-4.2*
/opt/local/bin/gccbug-mp-4.3*
/opt/local/bin/gccbug-mp-4.4*
/opt/local/bin/gccxml*
/opt/local/bin/gccxml_cc1plus*

[ dweber at X ~ ]$ ls -l /opt/local/bin/g++* | sed -e 's/.*[0-9] \/opt/\/opt/'
/opt/local/bin/g++ -> /usr/bin/bin/g++-4.0
/opt/local/bin/g++-mp-4.2*
/opt/local/bin/g++-mp-4.3*
/opt/local/bin/g++-mp-4.4*


Take care,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090514/34e70bb0/attachment.html>


More information about the macports-users mailing list