Linker command (POSIX)

Note: You should use qcc instead of calling ld directly.


ld_variant [option…] objfile

where ld_variant depends on the target platform, as follows:

Target platform ld_variant
ARMv7 ntoarmv7-ld
x86 ntox86-ld

Runs on:

Linux, Microsoft Windows


The ld linker combines a number of object and archive files, relocates their data, and ties up symbol references. Usually the last step in compiling a program is to run ld. For more information, see the Binutils documentation on the GNU website at https://www.gnu.org/software/binutils/manual/.

Contributing author: