ld

Linker command (POSIX)


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

Syntax:

ld_variant [option…] objfile

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

The ld_variant depends on the target platform, as follows:

Target platform: ld_variant:
ARM ntoarm-ld
MIPS ntomips-ld
PowerPC ntoppc-ld
SH4 ntosh-ld
x86 ntox86-ld

Description:

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 detailed documentation, see the GNU website at http://www.gnu.org/.

Contributing author:

GNU

See also:

qcc

dlopen() in the QNX Neutrino Library Reference