1.3 Module search options

The following options can be used to tell the compiler where to look for certain modules.

-fmodules-map=string

Use the mapping between module indicants and module base filenames specified in string, which must contain a sequence of entries with form basename=moduleindicant[,moduleindicant]... separated by colon (:) characters.

When a module moduleindicant is accessed, the compiler will look for exports information for it in files basename.m68, libbasename.so, libbasename.a, basename.o, in that order.

This option is used to avoid the default behavior, in which the basename used to search for an accessed module is implicitly derived from its indicant, by transforming it to lower case.

The effect of this option is accumulative.

-fmodules-map-file=<filename>

Like -fmodules-map, but read the mapping information from the file <filename>.