4.6.11 Options for Linking
The options shown in the table below control linker operations and are discussed in the sections that follow.
Option (links to explanatory section) | Controls |
---|---|
-llibrary | Which library files are scanned. |
-m[no-]clink | Generate and use linker options relevant for C programs. |
-mserial=options | The insertion of a serial number in the output. |
-nodefaultlibs | Whether library code is linked with the project. |
-nostartfiles | Whether the runtime startup module is linked. |
-nostdlib | Whether the library and startup code is linked with the project. |
-Wl,option | Options to passed to the linker. |
-Xlinker option | System-specific options to passed to the linker. |
--fill=options | Filling of unused memory. |