Skip navigation

Need help to Run a Fortran project with Xcode 4.6.  I have been compiling and executing Fortran code with "gcc-42-5666.3-darwin11.pkg" in /usr/bin on OS X 10.8 ML first.  Then I downloaded Xcode with command-line tools, dev library and core library. Thx

1578 Views 3 Replies Latest reply: Feb 4, 2013 7:40 PM by geogaffer RSS
jforemski Calculating status...
Currently Being Moderated
Feb 1, 2013 11:19 AM

I have been able to compile and execute Fortran code on OS X 10.8.2 with "gcc-42-5666.3-darwin11.pkg" downloaded to usr/bin.  I use the command gfortran-4.2 -o to generate executable file.

 

I would like to Run a Fortran project with Xcode 4.6.  So I downloaded Xcode with command-line tools, developer library and core library.  Xcode Runs C code from the interface no problem, but I can not get a Fortran project to Run in Xcode interface.  Seems that code never meets the compiler.

 

I installed Xcode two days after gcc-4.2 package.  There is no /usr/local/bin on my hard drive, so no files there.  If you can advise, I will be grateful.

Xcode 4.6, OS X Mountain Lion (10.8.2), C code "Runs" on Xcode, not Fortran

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.