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-9
TNS/R Native Object File Tool (noft Utility)
•
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/R Native Object File Tool (noft Utility)
The native object file tool (the noft utility) reads and displays information about
TNS/R native object files. You can use noft to:
•
Determine the optimization level of procedures
•
Display object code with corresponding source code
•
List object file attributes
•
List unresolved references
noft runs in the Guardian and OSS environments. The noft syntax and capabilities
are nearly identical in each environment. For more information, see the noft 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 nld
Manual and ld Manual.
A native object file is either a linkfile or a loadfile, but not both. The native compilers
produce only linkfiles, while the nld or ld utility can produce either linkfiles or
loadfiles.
Linkfiles can be used again as input to nld and ld. Loadfiles can be used as input to
nld and ld only for modifying loadfile attributes. Both linkfiles and loadfiles can be
used as noft 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/R native C or C++ source programs and generates the
correct NonStop SQL/MX database calls. See the SQL/MX Programming Manual for C
and COBOL.
Can Be Linked to Produce a Loadfile Can Be Executed
Linkfiles Yes No
Loadfiles No Yes