F90-related question

Janus Weil janus@gcc.gnu.org
Mon Dec 9 15:55:00 GMT 2013


Hi,

> I have a question about an old compilation line. It used to be " f90 +r8 -c
> -O3 *.f  ", and now I would like to use gfortran instead of f90.
>
> The question is only about the "+r8" option. I cannot find an equivalent to
> it so I assume it is defaulted in gfortran, but I would like a confirmation
> for that.

I guess you are looking for something like -fdefault-real-8, see
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gfortran/Fortran-Dialect-Options.html

Cheers,
Janus



More information about the Fortran mailing list