fortran 4.1 and the preprocessor (-cpp)
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Tue Nov 24 12:15:00 GMT 2009
Hi,
Manuel Pérez Jigato wrote:
> i´m stuck to an old version of gfortran (4.1) which, strangly enough,
> cannot recognise the "-cpp" option during compilation
>
> is there any way out?
If I understand your problem correctly you want to try the '-x
f77-cpp-input' and '-x f95-cpp-input' command line options. An
alternative would be to rename your input files to use capital letter
extensions which makes the preprocessor dependency obvious outside of
the Makefiles.
HTH,
- Tobi
More information about the Fortran
mailing list