This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/49138] Add /usr/include/fortran/{,gcc-<version>} to the file/module search path


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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]