gfortran and g77 on lion

Joined
Apr 18, 2012
Messages
2
Reaction score
0
Points
1
Hi

I got xcode 4.3.2 and put it in applications and am running OS X 10.7.3. I installed g77 and gfortran from sourceforge.net. But when I am compiling a simple test program I get the following error with gfortran.

gfortran: error trying to exec 'as': execvp: No such file or directory

I searched, but there is no as on my system in /usr/local/bin. I am new to Mac so don't know much about the functioning of xcode. Please suggest what to do.

Thanks, Smriti
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
I don't know the problem, but did you install the extra tools. Xcode now installs in the Applications folder and there is an extra, I think command line, toolset to install. Check out the downloads section where you found Xcode 4.3 for that.

Search for the word command in the New Features in Xcode 4.3 document.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top