how to force preprocessing of *.f90 files (i.e., not *.F90)
Benjamin Réveillé
benjamin.reveille@gmail.com
Mon Dec 11 20:25:00 GMT 2006
Have you tried "-x f95-cpp-input"
Ben
Le lundi 11 décembre 2006 20:16, Dimitri Komatitsch a écrit :
> Dear all,
>
> Is there a way of forcing preprocessing in gfortran
> when the files are named *.f90 rather than *.F90 ?
> I maintain a package in which all files are called *.f90 but contain
> #define directives. With other compilers (for instance Intel ifort)
> we force preprocessing by adding the "-cpp " option, is there something
> equivalent in gfortran? if not, it could be a good idea to add it.
>
> (I checked the manual and did not find such an option, I hope I did not
> miss it...)
>
> Thank you,
> Best regards,
>
> Dimitri Komatitsch.
More information about the Fortran
mailing list