------- Comment #7 from burnus at gcc dot gnu dot org  2008-12-08 11:33 -------
(In reply to comment #6)
> To add the default paths defined in gcc/cppdefault.c (cpp_include_defaults) to
> the module/INCLUDE search path, one could clone gcc/incpath.c
> (add_standard_paths) and call gfc_add_include_path() instead of add_path().
> 
> Tobias, do we still need/want this?

Good question. FX and Joe don't like the idea, but Fortran files (".h"/".inc"
and ".mod" files one can find in /usr/include in some Linux distributions.

openSUSE has a .mod file and *.inc for NetCDF in /usr/include. The place for
the .mod looks wrong, but for .inc?

A semi-proper place for .mod files is:
  /usr/lib64/gcc/x86_64-suse-linux/4.4/finclude/
(Semi because finclude does not distinguish between e.g. 32bit and 64bit.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35707

Reply via email to