Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ghous Narejo

macrumors newbie
Original poster
Feb 18, 2009
1
0
Hi,
I am new to MAC o/s . I have got mac book pro. I downloaded gcc ,g77 and gfortran.
I have tried to run all these and been successful in c compiler.
But i get a message command not found whenever i try to compile my fortran codes with gfortran ,or g77 compile command.
Can anyone help me please.

Thanks,

Ghous
:confused:
 
If you installed it correctly (via the configure-make-make install sequence), gfortran should be installed in /usr/local/bin/. Check this directory for gfortran.

If it's in there, you need to put this directory path in your $PATH shell variable.
 
If you dont want to create a path go to the directory where g77 is located and type ./g77

If you installed it correctly (via the configure-make-make install sequence), gfortran should be installed in /usr/local/bin/. Check this directory for gfortran.

If it's in there, you need to put this directory path in your $PATH shell variable.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.