This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
-M nor -J work as intended
- From: Noel Torres <envite at rolamasao dot org>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 08 Mar 2007 23:27:47 +0000
- Subject: -M nor -J work as intended
gfortran seems to work ok with modules in the same directory, but if
fails to get modules localted in a subdirectory. I tried with both -M
and -J and both with space and without it.
version: GNU Fortran 95 (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
failure:
$ ls mods
error.mod
$ gfortran -M mods -c newton_rapshon_test.F95
In file newton_rapshon_test.F95:3
use error
1
Fatal Error: Can't open module file 'error.mod' for reading at (1): No
existe el fichero o el directorio
$ gfortran -Mmods -c newton_rapshon_test.F95
gfortran: unrecognized option '-Mmods'
In file newton_rapshon_test.F95:3
use error
1
Fatal Error: Can't open module file 'error.mod' for reading at (1): No
existe el fichero o el directorio
$ gfortran -Jmods -c newton_rapshon_test.F95
In file newton_rapshon_test.F95:3
use error
1
Fatal Error: Can't open module file 'error.mod' for reading at (1): No
existe el fichero o el directorio
$ gfortran -J mods -c newton_rapshon_test.F95
f951: error: missing argument to "-J"
Regards
Noel Torres