On May 1, 2012, at 06:23, Jason Swails wrote:

> You should install gcc_select and make sure you set the proper compiler suite:
> 
> sudo port install gcc_select
> sudo port select gcc mp-gcc45
> 
> That should set up the symlinks so that 'gfortran' in /opt/local/bin links to 
> gfortran-mp-4.5

Or you can use "port contents gcc45" to see what the port installed, see from 
the output that it provides "gfortran-mp-4.5", not "gfortran", and then call 
the compiler using "gfortran-mp-4.5". "port contents" is what you should use 
anytime you have the question "I installed a port but the file I thought it 
would provide still doesn't exist."


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to