C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

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 nld, 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.
Unlike Binder, TNS/R native linker cannot replace individual procedures and data blocks in an
object file or build an object file from individual procedures and data blocks. TNS/R native linker
operate on procedures and data blocks, but only in terms of an entire object file.
The TNS/R native linker runs in the NonStop environments in addition to NSDEE and ETK on the
PC; only nld is available with TDS. With both linkers, you can specify the target platform as
NonStop. Command syntax and capabilities are nearly identical in each environment. To display
the syntax, enter nld or ld at the command prompt.
For more details, see the:
DLL Programmer’s Guide for TNS/R Systems
ld Manual
nld Manual
noft Manual
rld Manual
Inspect Symbolic Debugger
The Inspect symbolic debugger is an interactive tool that enables you to identify and correct
programming errors in programs.
You can use Inspect to:
Step through code
Set breakpoints
Display source
Display variables
For more details on debugging capabilities, see the Inspect Manual and the G-series Debug Manual.
Visual Inspect Symbolic Debugger
Visual Inspect is an optional PC-based (GUI) symbolic debugger designed to work in complex
distributed environments. Visual Inspect:
Supports application debugging in either the development or production environment
Uses program visualization, direct manipulation, and other techniques to improve productivity
for both the new and sophisticated users
TNS/R Native C and C++ Language System 35