gcc 4.6 port for OSX Lion
c.enderlin at me.com
Thu Aug 4 10:32:25 PDT 2011
Le 4 août 2011 à 12:32, vincent habchi a écrit :
> Salut Christophe,
>> I need to install gcc 4.6 on OSX Lion. I found serveral ports that mention
>> gcc in their title, but I'm not sure of which one to choose.
> You can’t. Well, there is a gcc46 port but it installs a deprecated ß-version. I myself tried to update the port and install gcc 4.6.: It fails because of a ld (1) bug in the 10.7 toolchain – at least, if you want gfortran to be built: It does not seem to plague C, C++ and obj-C front-ends.
> So, if you are just interested in the C-family languages, I can give you the portfile so you can have a try.
> Ciao !
> PS: pas d’espaces en anglais avant ! et ?, contrairement au français… :)
Well, all I need is actually C-family languages so I think it'll be ok.
So I've chosen gcc46 port that install 4.6.01 and all seems to work fine.
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?
Thanks a lot!
PS: désolé pour la ponctuation, je ne suis pas un spécialiste de la typographie anglaise ... ;-)
Vive Latex !
More information about the macports-users