Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] gfortran

Hi,

I am running OS 10.8.1
Eclipse 4.2.0
Photran 8.0.1

in Terminal, i can compile fortran code using gfortran (GNU Fortran (GCC) 4.2.3)

After I follow the steps outlined here
Starting a New Project
using an auto generated makefile

I end up getting this error:


09:35:33 **** Build of configuration Release for project EDK ****
make all 
Building file: ../edk.f90
Invoking: GNU Fortran Compiler
gfortran -funderscoring -O3 -Wall -c -fmessage-length=0 -o "edk.o" "../edk.f90"
/bin/sh: gfortran: command not found
make: *** [edk.o] Error 127



- I made sure to check the related faq entries (http://bit.ly/Q1tI0B): I chose Mach-O (obsolete) and Mach-O64 -- the same error occurs regardless and there are no spaces in my workspace

- in terminal I switched to /bin/sh and I can execute fortran just fine
		computername:~ username$ /bin/sh
		sh-3.2$ gfortran
		i686-apple-darwin8-gfortran-4.2: no input files
		sh-3.2$ 



What could the problem be?
Thanks for your help!

Cheers,
Claus

Back to the top