Open System Services Porting Guide (G06.24+, H06.03+)

Table Of Contents
The Development Environment
Open System Services Porting Guide520573-006
2-21
Using the noft and enoft Utilities on Native Program
Files
A single Inspect or Native Inspect command cannot accept both Guardian and
OSS filenames, with the exception of the Inspect SOURCE ASSIGN.
Core files, known as save or saveabend files in Inspect and as snapshot files in
Native Inspect, are named ZZSAnnnn.
You cannot use a Guardian filename while the Inspect systype is OSS.
Using the noft and enoft Utilities on Native Program Files
Three additional development utilities, the native linkers (ld, eld, and nld) and the
native object file tools (noft and enoft), are used with native object files. The Binder
program is used on TNS object files. For working with native object files, these tools do
not offer identical features, but they offer similar features.
The nld utility links non-position-independent code (non-PIC) TNS/R native object files
with libraries specified on the c89 command line to create an executable program. The
ld utility links TNS/R PIC object files with dynamic-link libraries (DLLs) to create a PIC
loadfile. The eld utility links TNS/E PIC object files with DLLs to create a PIC loadfile.
The PIC loadfile can be executed after being loaded into memory by the rld utility.
The noft utility reads and displays information from TNS/R native object files,
providing some debugging options not available with the Inspect debugger. The enoft
utility reads and displays information from TNS/E native object files, providing some
debugging options not available with the Native Inspect debugger.
You can display the following object file components with the noft and enoft utilities:
File headers
Program text and data
Symbol table and its component parts
Run-Time Data Units (RTDUs)
The ld, eld, nld, noft, and, enoft utilities can be used in the Guardian or OSS
environments. For details, refer to the following manuals:
ld Manual
eld Manual
rld Manual
nld Manual
noft Manual
enoft Manual
Note. You cannot use ld, eld, rld, nld, noft, or enoft on TNS or accelerated object files.