gcc 4.6 port for OSX Lion

ENDERLIN Christophe c.enderlin at me.com
Thu Aug 4 14:25:50 PDT 2011

Le 4 août 2011 à 22:00, Rainer Müller a écrit :

> On 2011-08-04 21:58 , Rainer Müller wrote:
>> 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
> Sorry, I made a slight mistake. Should have read:
>  sudo port select gcc mp-gcc46
> Rainer

Yes it works. I got an error about a not found target gcj, but I guess it's normal
if gcj is a Java compiler, right ?


More information about the macports-users mailing list