https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931
Bug ID: 94931 Summary: request: print include path Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ryofurue at gmail dot com Target Milestone: --- I'm not familiar with this bug tracker. I mean to submit a request, not a bug report. ---- Sorry if I missed anything, but it seems to me that there is no (official) way to print the list of paths which gfortran searches for include files. If that is correct, my request would be to provide a means to print the paths. The `--print-search-dirs` option indicates paths only for the installation, executables, and libraries (It seems to me). This discussion applies to the INCLUDE statement of the Fortran language, not the `#include` directive of the preprocessor. Off-topic: I wonder if there is a discussion available online about why /usr/include or something like that is not searched by default? Is there a common (more or less standard) place for gfortran to search?