Which GCC does macports use?

Wolf Drechsel drechsel at verkehrsplanung.com
Sun Apr 4 07:49:57 PDT 2010


> Greetings -
>
> I installed macports (OS X 10.4) and then installed and built the  
> gcc44 package without

> So how do I tell macports to use the newly installed compiler?


Hi,

as you're using 10.4, on your machine the gcc_select command should  
work. gcc_select -l lists your installed gcc versions, 'sudo  
gcc_select <name_of_the_desirec_gcc_version>' will switch.

AFAIK this is only temporary - I didnt figure out how to make it  
lasting.

Yours, Wolf



More information about the macports-users mailing list