This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: -MDIR Option Doesn't Work for Version 4.1.1
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Browder, Tom" <Tom dot Browder at fwb dot srs dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 16 Apr 2007 15:48:51 +0200
- Subject: Re: -MDIR Option Doesn't Work for Version 4.1.1
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X1319fns0MMbcs9ujbduBXOB526hpNBP68z/SMqjXH31QPFCLvX4JdGWVSPq7C2bip6VTyILQK0xtD6eHDccYriQfoXP6xhMY6lkHk0HkVdgo4d1s6K0uak+kQwUavqJ/53upr6eN3su/n4mVPk0/eK/5d2t1DQ1c0jNxRdb7wk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HWxee3UU/epoAsUlfeXPfg4fqbt7fZjHwqQEdkgYQgqVoKffCgrhmZDZNZPEvX7LAbyp9514QKUwuipqWB2xpvbQnZPGwhle28LkkGgGmr78qQKqEPq4WxP7DRqB1jpjw12y+mWf+9fTfM6w98obe2hHfYQ74ZwDyz4TTEuEw+Q=
- References: <F4AAE2E381F0624BB8F513C1E9880FB95EBCED@newman.fwb.internal.srs.com>
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