Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 27, 2006, 07:40 AM   #1
mjbooij
macrumors newbie
 
Join Date: Sep 2006
Fortran compiler Intel mac

I am looking for a (freeware) fortran compiler for an intel mac. Does it exist, and where can I get it?
mjbooij is offline   0 Reply With Quote
Old Sep 27, 2006, 07:56 AM   #2
demallien
macrumors regular
 
Join Date: Oct 2005
Good News

Gcc is already on your Mac, and it can handle Fortran....
demallien is offline   0 Reply With Quote
Old Sep 27, 2006, 08:00 AM   #3
iMeowbot
macrumors 601
 
iMeowbot's Avatar
 
Join Date: Aug 2003
http://hpc.sourceforge.net/

You will also need to install the Apple developer tools, if you haven't done so already.

Quote:
Originally Posted by demallien
Gcc is already on your Mac, and it can handle Fortran....
One of the deep dark mysteries of OS X is why they leave out the Fortran.
iMeowbot is offline   0 Reply With Quote
Old Sep 27, 2006, 09:19 AM   #4
BornAgainMac
macrumors 601
 
BornAgainMac's Avatar
 
Join Date: Feb 2004
Location: Florida Resident
Do a "man gcc" at the UNIX prompt for information on how to compile Fortran programs.
BornAgainMac is offline   0 Reply With Quote
Old Sep 27, 2006, 09:22 AM   #5
iMeowbot
macrumors 601
 
iMeowbot's Avatar
 
Join Date: Aug 2003
Quote:
Originally Posted by BornAgainMac
Do a "man gcc" at the UNIX prompt for information on how to compile Fortran programs.
Hence this thread
Quote:
Originally Posted by man gcc
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.
iMeowbot is offline   0 Reply With Quote
Old Sep 27, 2006, 09:54 AM   #6
Eraserhead
macrumors G4
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: 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.
__________________
Actually it does make sense. Man created god, so if we exist, He exists. - obeygiant
Eraserhead is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How to run fortran on mac phamnu Mac Programming 1 Aug 25, 2013 09:56 PM
2011 Mac mini i5 with Intel 3000 vs. 2013 MBA with Intel HD 5000 Ice Dragon Mac mini 2 Jun 13, 2013 06:44 AM
Fortran g77 on Mac nicolaus Mac Programming 5 Feb 7, 2013 08:09 AM
Fortran and Netcdf dukebound85 Mac Programming 3 Jun 20, 2012 11:31 PM
Broken C compiler dancks Mac Programming 2 Jun 15, 2012 03:04 PM

Forum Jump

All times are GMT -5. The time now is 10:41 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC