Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 27, 2013, 10:49 PM   #1
nicolaus
macrumors newbie
 
Join Date: Jan 2013
Fortran g77 on Mac

Hi, I just recently installed Fink and Fink Commander along with Xcode. How do I install and operate fortran g77 or GNU?
nicolaus is offline   0 Reply With Quote
Old Jan 28, 2013, 12:21 PM   #2
nicolaus
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
fortran

I have an Intel 10.8 (Mountain Lion) MacBook Pro.
nicolaus is offline   0 Reply With Quote
Old Jan 28, 2013, 03:31 PM   #3
Wich
macrumors newbie
 
Join Date: Nov 2012
1) Use gfortran as it has replaced g77.
2) I see that fink has the gcc packages with gfortran included so you could use them(I don't know if they have prebuilt binaries and building gcc from scratch can take some time). Otherwise there are differents prebuilt packages available online: hpc for mac os x, gfortran site, R site...
Wich is offline   0 Reply With Quote
Old Jan 28, 2013, 07:38 PM   #4
nicolaus
Thread Starter
macrumors newbie
 
Join Date: Jan 2013
How to I operate it now with Xcode?
nicolaus is offline   0 Reply With Quote
Old Jan 29, 2013, 02:47 PM   #5
Wich
macrumors newbie
 
Join Date: Nov 2012
suport for fortran in xcode is really limited: you have the syntax coloring but that's pretty much it, to compile any program you need to use an external build project with a hand written makefile. Intel offers some better integration with Xcode along their fortran compiler but you still have a glorified text editor rather than a true IDE. Your best bet is to look at something else to work with fortran.
Wich is offline   0 Reply With Quote
Old Feb 7, 2013, 08:09 AM   #6
the-wanderer
macrumors member
 
Join Date: May 2011
Location: twilight zone
install Xcode w/command line tools

google gfortran IBM

install gfortran


i compiled gcc-4.8 from source and ffmpeg with no problems

osx 10.8
the-wanderer 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
Migration assistant (Mac - Mac). New mac has mutiple drives, can't pick the right one Daftones MacBook Pro 4 Aug 29, 2013 09:32 AM
How to run fortran on mac phamnu Mac Programming 1 Aug 25, 2013 09:56 PM
Mac Mini not visible in Mac network (shared drives, remote desktop) xterminated OS X 10.8 Mountain Lion 1 Jul 19, 2013 12:13 PM
Linux and mac shared Data partition. (paragon extFS-mac, ntfs-mac, ntfs-3G ?) HiDeHo OS X 10.8 Mountain Lion 15 Jul 17, 2013 05:09 PM
Fortran and Netcdf dukebound85 Mac Programming 3 Jun 20, 2012 11:31 PM

Forum Jump

All times are GMT -5. The time now is 04:30 AM.

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

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