Option name | Equivalent pragma name | Description |
---|---|---|
-b | None. | Sets special linker processing options. This option can be repeated. |
-bmaxdata | None. | Sets the maximum size of the area shared by the static data (both initialized and uninitialized) and the heap. |
-brtl | None. | Controls runtime linking for the output file. |
-qcrt | None. | Specifies whether system startup files are to be linked. |
-e | None. | When used together with the -qmkshrobj or -G option, specifies an entry point for a shared object. |
-f | None. | Names a file that stores a list of object files for the compiler to pass to the linker. |
-L | None. | Searches the directory path for library files specified by the -l option. |
-l | None. | Searches for the specified library file. For static and dynamic linking, the linker searches for libkey.a. For runtime linking with the -brtl option, the linker searches for libkey.so, and then libkey.a if libkey.so is not found. |
-qlib | None. | Specifies whether standard system libraries and XL C libraries are to be linked. |
-Z | None. | Specifies a prefix for the library search path to be used by the linker. |