nld Manual

nld Manual528272-001
1-1
1 Introduction
The nld utility (or native link editor) links one or more non-PIC object files to produce a
single non-PIC loadfile or linkfile. (To produce a PIC object file—such as a dynamic-link
library (DLL)—use the ld utility, which is explained in the ld Manual.)
The nld utility operates in the TNS/R native mode development environment on
TNS/R native object files—both PIC (position-independent code) and non-PIC (non-
position-independent code) files.
PIC and non-PIC native object files are generated by the native C, native C++, native
COBOL, and pTAL compilers. For information on these compilers, see these manuals:
C/C++ Programmer’s Guide
COBOL85 for NonStop Systems Manual
pTAL Reference Manual
For general information about PIC, see the DLL Programmer’s Guide for TNS/R
Systems.
In the TNS/R native development environment, the functions that nld provides are
similar but not identical to the functions that the Binder product provides in the TNS
development environment. For migration information, see Appendix B, Converting
From Binder to nld.
Topics:
Native Object Files on page 1-2
nld on page 1-2