gcc45 and gfortran issue

Marcelo Chiapparini marcelo.chiapparini at gmail.com
Tue May 1 08:45:13 PDT 2012


2012/5/1 Ryan Schmidt <ryandesign at macports.org>

>
> 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."
>
>
>
Thanks for the tip Ryan!

Marcelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120501/4c3d777c/attachment.html>


More information about the macports-users mailing list