[G95] 5) report your experiences on gcc-g95-devel@lists.sourceforge.net
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sat Aug 14 10:24:00 GMT 2004
Thank you for trying our Fortran compiler. Unfortunately the version you tried
is a very ancient one. The sourceforge page should definitely be more explicit
about not being up-to-date any longer.
jeff.c.johnson@philips.com wrote:
> 3. Now I'm in /tmp trying to compile:
> $ ./g95.exe -c calchpavg.f
> g95: calchpavg.f: Fortran compiler not installed on this system
The problem is that this ancient incarnation of gcc-g95 (which has been
renamed to gfortran in the meantime) doesn't handle the .f file extension
correctly: it tries to defer the file to the old Fortran 77 compiler, g77,
which is not included with g95. Adding '-x f95' should do the trick, and make
g95 compile your file.
In order to get a more recent version of gfortran working on your computer, I
think the information I gave in
<http://gcc.gnu.org/ml/fortran/2004-07/msg00162.html> is still accurate,
except that as a new requirement you'd need a libgmp with mpfr enabled, and I
have no idea if this is distributed with cygwin. Maybe someone else can tell
us about this.
Please note that the mailing list for gfortran is now <fortran@gcc.gnu.org>.
- Tobi
More information about the Fortran
mailing list