By explicitly including the path to gfortran at Project > Properties > Fortran Build > Settings > GNU Fortran Compiler >Tool Settings I can get gfortran to run but even on a simple “Hello world” program I get this:
10:45:40 **** Build of configuration Release for project Fortran test on OSX10.10 ****
make all
Building file: ../Helloworld.f95
Invoking: GNU Fortran Compiler
/usr/local/gfortran/bin/gfortran -funderscoring -O0 -Wall -c -fmessage-length=0 -o "Helloworld.o" "../Helloworld.f95"
make: *** [Helloworld.o] Segmentation fault: 11
Any thoughts appreciated.
Bernard
Each time Apple releases a new version of OS X I find that Eclipse Photran ceases to run correctly. I installed Yosemite (OS X 10.10) today and Eclipse (Luna) cannot find gfortran in usr/local/gfortran/bin.
I have tried the following:
1. setting the PATH to include usr/local/gfortran/bin in MacOSX/environment.plist
2. opening a terminal window, setting the PATH as above then running Eclipse
without success. Both methods worked in OS X 10.9.
Any suggestions?
Bernard Abramson