FORTRAN for Snow Leopard?

Lenore Horner LenoreHorner at sbcglobal.net
Fri Jan 7 08:15:51 PST 2011


On Jan 7, 2011, at 9:35 AM, Jason Swails wrote:

> 
> 
> On Fri, Jan 7, 2011 at 9:13 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Jan 7, 2011, at 08:06, Jason Swails wrote:
> 
> > Just install an updated GCC with the +gfortran variant.
> >
> > sudo port -v install gcc45 +gfortran (this may take a little while)
> 
> You can see with "port variants gcc45" that it does not have a +gfortran variant; fortran support in gcc45 is always on. 
> 
> Only the latest development version gcc port (currently gcc46) has a +gfortran (and a +java) variant. The maintainer of the gcc ports explained to me that gcc's java support (and perhaps its fortran support) frequently broke during the development versions, and he did not want to hold up the release of a new version of the port for that reason alone. By the time a version of gcc became stable, its java and fortran support would be stable as well, so the maintainer permanently enables it at that time.
> 
> A quick perusal of the Portfiles verifies your statement, thanks for clarifying.  However, I've installed gcc43, 44, 45, and 46 all with the +gfortran variant (of which only gcc46 needs it) and it's always worked as expected.  Perhaps port quietly ignores any specified, non-existent variants?
Yes.  Which is sometimes a hazard for those of us whose fingers move faster than our brains.  I've often wished port would complain when I misspelled a variant.
Lenore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110107/aca765a6/attachment.html>


More information about the macports-users mailing list