C/C++ Programmer's Guide (G06.25+)
Introduction to HP C and C++ for NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
1-7
TNS/R Native Linkers (nld and ld Utilities)
•
Tools.h++ version 6.1 (Guardian version in file ZTLHGSRL; OSS version in file
ZTLHOSRL)
VERSION2 Standard C++ Library
For C++ VERSION2, the following libraries are available:
•
The HP NonStop C run-time library (file ZCRTLSRL)
•
The HP NonStop C++ run-time library (product T0179, file ZCPLSRL)
•
The draft Standard C++ Library from Rogue Wave (product T5895, file
ZRWSLSRL)
•
Tools.h++ version 7.0 (product T8473, file ZTLHSRL)
VERSION3 Standard C++ Library ISO/IEC
For C++ VERSION3 (the default version beginning with the G06.20 RVU), the following
libraries are available:
•
The HP NonStop C run-time library (file ZCRTLSRL)
•
The VERSION3 library (product T2767, file ZSTLSRL), which includes:
°
The HP NonStop C++ run-time library
°
The ratified Standard C++ Library ISO/IEC from Dinkumware, based on the
standard document: ISO/IEC 14882:1998(E).
C++ Header Files Combined at G06.20
At the G06.20 RVU, the C++ header files for all three versions were combined into one
product number, T2824. Built-in checking enforces the use of the correct header files
with each version. This change did not affect how you use the header files; the change
is transparent to the user.
Tools.h++ version 7 headers remain in product T5894.
TNS/R Native Linkers (nld and ld Utilities)
The nld native linker links one or more TNS/R native object files (files generated by
the native compilers or nld) to produce either an executable (a loadfile) or relinkable
native object file (linkfile). nld can also modify process attributes, such as HIGHPIN, of
executable native object files and remove nonessential information from native object
files. nld cannot process position-independent code (PIC) files.
The ld native linker, introduced at G06.20, performs the same basic functions as ld,
but processes PIC files, the format necessary when using dynamic-link libraries
(DLLs). If you are using DLLs, you must use ld to link your linkfiles.