------- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-05-14 10:48 ------- (In reply to comment #3) > Fortran files should not be put into /usr/local/include or /usr/include. Those > directories are defined for C headers. It is particularly bad to put binary > files there.
You're confusing module files and included files. Noone's talking about module files here. > We should instead develop a standard location for Fortran-specific > files, as is done with all non-C languages. For example: > /usr/lib/gfortran/modules /usr/local/lib/gfortran/modules. For modules files, this is not enough: they depend on compiler and compiler version, so you need at least /usr/lib/gfortran/4.4.0/modules, at least. But module files are not intended to be used system-wide, really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35707