This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -MDIR Option Doesn't Work for Version 4.1.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]