-MDIR Option Doesn't Work for Version 4.1.1
François-Xavier Coudert
fxcoudert@gmail.com
Mon Apr 16 13:48:00 GMT 2007
> I'm trying to use the '-MDIR' option to tell gfortran where to look for
> modules and I'm getting "gfortran: unknown option '-MDIR'".
I don't know where you found the documentation for this options, but
it's supposed to say (from the font used, like on the online HTML
docs: http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gfortran/Directory-Options.html)
that it's a -M options that takes a directory argument joined to it:
gfortran -Mmy_directory will write the module files into the directory
named my_directory.
FX
More information about the Fortran
mailing list