C/C++ Programmer's Guide (G06.25+)

Introduction to HP C and C++ for NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
1-16
TNS/E Native Object File Tool (enoft Utility)
Provides source-level debugging for servers executing in either the Guardian or
OSS environment; provides additional application navigation features that allow a
higher level of abstraction
Supports both CISC and native machine architectures and compilers (that is, C,
C++, COBOL, TAL, EpTAL, pTAL, D-series Pascal, and FORTRAN), Guardian and
OSS executing environments
Is available also as a stand-alone product
For more information about enabling and using Visual Inspect, see the Visual Inspect
online help. See also the descriptions of pragmas INSPECT on page 13-52 and
SYMBOLS on page 13-100.
TNS/E Native Object File Tool (enoft Utility)
The native object file tool (the enoft utility) reads and displays information about
TNS/E native object files. You can use enoft to:
Determine the optimization level of procedures
Display object code with corresponding source code
List object file attributes
List unresolved references
enoft runs in the Guardian and OSS environments. The enoft syntax and
capabilities are nearly identical in each environment. For more information, see the
enoft Manual.
Native object files are in Executable and Linking Format (ELF), a standard format used
for object files, with HP extensions. For details on native object files, see the eld
Manual.
A native object file is either a linkfile or a loadfile, but not both. The native compilers
produce only linkfiles, while the nld utility can produce either linkfiles or loadfiles.
Linkfiles can be used again as input to eld. Loadfiles can be used as input to eld only
for modifying loadfile attributes. Both linkfiles and loadfiles can be used as enoft
input.
NonStop SQL/MP Compiler and NonStop SQL/MX Compiler
The NonStop SQL/MP compiler processes embedded SQL statements from C source
programs and generates the correct NonStop SQL/MP database calls. See the
SQL/MP Programming Manual for C.
The NonStop SQL/MX compiler, available on the OSS platform, processes embedded
SQL statements from TNS/E native C or C++ source programs and generates the
Can Be Linked to Produce a Loadfile Can Be Executed
Linkfiles Yes No
Loadfiles No Yes