------- Comment #4 from tobias dot burnus at physik dot fu-berlin dot de 2006-04-20 16:02 ------- (In reply to comment #1) > This should be fairly straight forward to implement. The > question is where do we put the module and 8.o file. Is > ${prefix}/lib/modules a good enough place? There is also > the possibility of ${prefix}/libexec/modules.
I'm not sure whether putting it into an external module is the right way to do as this is an intrinsic module; in any case this .mod file has to be regarded as intrinsic (see below). >From "Fortran 95/2003 explained": "Also like intrinsic procedures, it is possible for a program to use an intrinsic module and a user-defined module of the same name, though they cannot both be referenced from the same scoping unit. [...] for example" use, intrinsic :: iso_fortran_env (and: use, non_intrinsic :: iso_fortran_env) (For completeness: The other intrinsic modules of Fortran 2003 are: ieee_* and iso_c_binding.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22547