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: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2008 19:38:19 -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 #6 from dfranke at gcc dot gnu dot org 2008-12-07 19:38 -------
Since libcpp integration, default search paths (i.e. /usr/local/ etc.) are used
for #include'd files.
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?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35707