Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (m - o) nld(1)
-nostdlib
Prevents nld from searching the standard library locations for SRLs and archive les.
-noverbose
Prevents nld from writing warning and informational messages to its output listing. The
-verbose ag directs nld to write warning and informational messages to its output list-
ing. The default value is -noverbose.
-o filename
Species the lename of the output object le.
lename can be the same as the input le name. When this is true and linking is suc-
cessful, nld deletes the input le and then writes the output le. An error occurs if you
do not have permission to delete the input le.
If you do not specify a -o ag, the default output lename is a.out.
{ -obey | -fl } filename
Species the name of an nld command le containing nld command tokens (such as
lenames and command ag specications).
lename is a C text le. Tokens can be separated by spaces, tabs, or ends of lines.
Within the command le, two hyphens indicate a comment that extends to the end of
the current line. Command les can be nested and there is no limit to the depth of nest-
ing. Recursive nesting does not cause an error; nld does not read the same command
le more than once.
-r Directs nld to create a relinkable object le for later use as an nld input le, instead of
creating an executable object le. nld creates an executable object le by default.
-rename old-name new-name
Changes the symbol name of an externally visible procedure or data item. old-name is
the name of the procedure or data item to rename. new-name is the new name to give
the procedure or data item. See the nld and noft Manual for details.
-s Removes symbol information used for linking and symbolic debugging from the output
executable object le. A le stripped of all symbol information cannot be symbolically
debugged with the Inspect debugger or linked again by nld.
You can use this ag only when creating an executable object le. If you specify both
the -r and -s ags, the -s ag is ignored. To strip all symbol information from an exist-
ing executable object le, use the -strip ag. You can strip only the symbol informa-
tion used for symbolic debugging with the -x ag.
-set attribute-name attribute-value
Sets the value of the run-time attribute specied in attribute-name to the value
specied in attribute-value when creating a relinkable or executable object le. Use
the -change ag to change a run-time attribute in an existing relinkable or executable
object le.
Each attribute-name has a corresponding range of accepted attribute-values as follows:
FLOATTYPE is one of the following:
IEEE_FLOAT
NEUTRAL_FLOAT
TANDEM_FLOAT
If FLOATTYPE is specied more than once, all occurrences except the nal
one are ignored.
527188-007 Hewlett-Packard Company 645