gcc 4.6 port for OSX Lion

Rainer Müller raimue at macports.org
Thu Aug 4 12:58:54 PDT 2011

On 2011-08-04 19:32 , ENDERLIN Christophe wrote:
> To use this new version, I had to change some symbolic links in /usr/bin.
> Was it right to proceed that way ? By the way, what is the difference between
> x86_64-apple-darwin11-gcc-4.6.1 and x86_64-apple-darwin11-gcc-mp-4.6?
> What does 'mp' stand for?

Do *not* alter any files in /usr!

Use the command 'port select' to change which gcc is invoked when typing
'gcc' in your shell. It will change the symlink at /opt/local/bin/gcc.

       sudo port select gcc gcc46

'mp' means MacPorts. It's used to indicate that this is not a gcc with
the Apple drivers unlike /usr/bin/gcc-4.0 or /usr/bin/gcc-4.2.


More information about the macports-users mailing list