ld
QNX SDP8.0Utilities ReferenceUtilities
Linker command (POSIX)
Note:
You should use qcc instead of
calling ld directly.
Syntax:
ld_variant [option…] objfile
where ld_variant depends on the target platform, as follows:
Target platform | ld_variant |
---|---|
AArch64 | ntoaarch64-ld |
x86 64-bit | ntox86_64-ld |
Runs on:
Linux, Microsoft Windows
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 more information, see the Binutils documentation on the GNU website at https://www.gnu.org/software/binutils/manual/.
In QNX, and as a QNX OS extension, the default type of linking for the -z option is now instead of lazy.
Contributing author:
GNU
Page updated: