This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35707] Search /usr/local/include and /usr/include for .mod files
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2008 10:48:11 -0000
- Subject: [Bug fortran/35707] Search /usr/local/include and /usr/include for .mod files
- References: <bug-35707-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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