[Bug fortran/49138] Add /usr/include/fortran/{,gcc-<version>} to the file/module search path
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Tue May 24 14:33:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49138
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-05-24 14:05:58 UTC ---
On Tue, 24 May 2011, burnus at gcc dot gnu.org wrote:
> The /usr/{local/,}include/fortran/ directory should be used (and searched) for
> Fortran INCLUDE / #include files.
The Fortran directories should be searched within the sysroot when there
is one (the same conditions under which such C directories are searched
within the sysroot).
> The result of -print-mod-dir-suffix should be
> gcc-<module_version>/lib{,<qual>}
>
> The reason for "lib{,<qual>}" is to allow for architecture-defined directories;
By "lib{,<qual>}" do you mean lib/$(gcc -print-multi-os-directory) ?
(Inventing yet another system for distinguishing multilibs, when there's
already -print-multi-directory and -print-multi-os-directory, seems like a
bad idea.)
More information about the Gcc-bugs
mailing list