Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mjbooij

macrumors newbie
Original poster
Sep 27, 2006
4
0
I am looking for a (freeware) fortran compiler for an intel mac. Does it exist, and where can I get it?
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
BornAgainMac said:
Do a "man gcc" at the UNIX prompt for information on how to compile Fortran programs.

Hence this thread :)
man gcc said:
Note that Apple's GCC includes a number of extensions to standard GCC (flagged below with ``APPLE ONLY''), and that not all generic GCC options are available or supported on Darwin / Mac OS X. In particular, Apple does not currently support the compilation of Fortran, Ada, or Java, although there are third parties who have made these work.
 

Eraserhead

macrumors G4
Nov 3, 2005
10,434
12,250
UK
On an Intel Mac, you can use the Intel compilers which provide unlimited evaluation.

Or you can use g95, it can compile Fortran-95 code and works fine on my iMac G5 (there is also an x86 Mac version) though I'm not sure if it can also compile Fortran-77 as well, though I think it probably can.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.