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
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:36 PM.

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

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