Il 6/25/2013 12:51 PM, Derek Goring ha scritto:
Ahaaaa............
/usr/bin/gfortran TestnetCDF.f90 -lnetcdff -o TestnetCDF
worked!!
I suspect that's because on my Windows path I have:
c:\strawberry\bin
in which there is a gfortran.exe.
How can I over-ride this within cygwin?
Not that that matters now. I can simply use the prefix /usr/bin/ to
force it to use the cygwin gfortran
Thank you very much for your help Marco.
Cheers
Derek
redefine the PATH variable or check if you are modifying
the cygwin shell path by accident.
Usually "/usr/bin" came before everything else in cygwin PATH
Regards
Marco