public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35707]  New: Search /usr/local/include and /usr/include for .mod files
@ 2008-03-26 14:18 burnus at gcc dot gnu dot org
  2008-03-28 23:20 ` [Bug fortran/35707] " dfranke at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 20+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-03-26 14:18 UTC (permalink / raw)
  To: gcc-bugs

Other compilers such as g95, NAG f95 and ifort also search /usr/local/include
and /usr/include for .mod files (and "INCLUDE"d files).

I think gfortran should do the same, especially since #include searches these
paths and "man gfortran"'s -Idir description implies #include and include
search the same directories.

g95 seems to use libcpp for reading almost all files and thus it searches also
in /usr/include (cpp_create_reader, cpp_read_main_file etc.). That way one
could also cpp-preprocess files included via "INCLUDE" rather than via
"#include".

The system include path is in the variable GCC_INCLUDE_DIR, which does not seem
to be used outside of cpp unless I missed something.

For CPP work, see wiki:
http://gcc.gnu.org/wiki/GFortran44


-- 
           Summary: Search /usr/local/include and /usr/include for .mod
                    files
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <bug-35707-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2015-10-10 12:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26 14:18 [Bug fortran/35707] New: Search /usr/local/include and /usr/include for .mod files burnus at gcc dot gnu dot org
2008-03-28 23:20 ` [Bug fortran/35707] " dfranke at gcc dot gnu dot org
2008-04-06  0:21 ` dfranke at gcc dot gnu dot org
2008-05-08 18:19 ` jkrahn at nc dot rr dot com
2008-05-14 10:48 ` fxcoudert at gcc dot gnu dot org
2008-08-18 20:57 ` dfranke at gcc dot gnu dot org
2008-12-07 19:39 ` dfranke at gcc dot gnu dot org
2008-12-08 11:35 ` burnus at gcc dot gnu dot org
2008-12-08 12:52 ` dfranke at gcc dot gnu dot org
2008-12-08 14:26 ` mikael at gcc dot gnu dot org
2009-01-03 23:26 ` dfranke at gcc dot gnu dot org
2009-03-28 15:46 ` fxcoudert at gcc dot gnu dot org
2010-05-02 14:03 ` dfranke at gcc dot gnu dot org
2010-05-02 14:32 ` burnus at gcc dot gnu dot org
2010-05-09 19:41 ` dfranke at gcc dot gnu dot org
     [not found] <bug-35707-4@http.gcc.gnu.org/bugzilla/>
2013-06-20 10:22 ` dominiq at lps dot ens.fr
2013-06-20 10:29 ` burnus at gcc dot gnu.org
2013-06-20 14:27 ` dominiq at lps dot ens.fr
2015-10-10 12:30 ` dominiq at lps dot ens.fr
2015-10-10 12:30 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).