Previous: GCCPRIORITY, Up: Miscellaneous


5.4 Library flavors

The AmigaOS port of ‘GCC’ may use different linker libraries depending upon the options used while invoking the compiler. These libraries reside in subdirectories of the standard locations, such as GG:lib/ or, with ‘GCC’ 2.7.2.1, GG:lib/gcc-lib/m68k-amigaos/2.7.2.1/.

If you invoke gcc with ‘-v’, you'll see the precise flavor of libraries used as a ‘-fl’ option in the ld invocation. Here is a list of the available flavors (and hence the subdirectories names):

More than one flavor can be specified simultaneously. For example, when both -fbaserel and ‘-m68020’ are specified, the libraries will be searched in libb/libm020 subdirectory (as well as in libb subdirectory and in the standard location).