2.6 Options for directory search
These options affect how GNU Fortran searches
for files specified by the
INCLUDE directive and where it searches
for previously compiled modules.
It also affects the search paths used by
cpp when used to preprocess
These affect interpretation of the
INCLUDEdirective (as well as of the
#includedirective of the
Also note that the general behavior of -I and
INCLUDEis pretty much the same as of -I with
cpppreprocessor, with regard to looking for header.gcc files and other such things.
This path is also used to search for .mod files when previously compiled modules are required by a
See Options for Directory Search in Using the GNU Compiler Collection (GCC), for information on the -I option.
This option specifies where to put .mod files for compiled modules. It is also added to the list of directories to searched by an
The default is the current directory.
This option specifies the location of pre-compiled intrinsic modules, if they are not in the default location expected by the compiler.