[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Claus,
In your home directory, create the directory .MacOSX (the dot at case are important). In this directory, create a file called environment.plist containing the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>your shell path include the path to gfortran</string>
</dict>
</plist>
Quit out of Eclipse and restart.
Regards,
Greg
On Sep 12, 2012, at 3:46 AM, Claus wrote:
> 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
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran