This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/35707] Search /usr/local/include and /usr/include for .mod files



------- 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


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