nld Manual
nld Manual—528272-001
3-1
3 nld Options
An option is a flag and its parameters, if any. You use nld options to specify the input
object file, control the nld environment, and control the format of nld output. This
section describes the syntax and semantics of nld options and provides examples of
each option listed in Table 3-1 on page 3-1.
Table 3-1. nld Flag Summary (page 1 of 2)
Flag Description
-allow_duplicate_procs
on page 3-2
Directs nld not to report an error if more than one procedure has
the given name.
-allow_missing_libs
on
page 3-3
Prevents nld from stopping when it cannot find an archive or
SRL.
-allow_multiple_mains
on page 3-3
Specifies that more than one procedure can have the MAIN
attribute.
-ansistreams
on
page 3-3
Specifies that C run-time library functions create files of type 180.
-bdynamic
on page 3-3 Directs nld to search for SRLs and archive files when resolving
-l and -lib options.
-bstatic
on page 3-4 Directs nld to search for archive files when resolving -l and
-lib options.
-change
on page 3-4 Changes a run-time attribute to a specified value in an existing
loadfile.
-e
on page 3-5 Identifies the function at which the program is to begin executing
when the program is loaded.
-elf_check
on page 3-5 Directs nld to check a loadfile for corruptions that might have
occurred.
-export
on page 3-5 Specifies that a symbol is exported by the user library or SRL
being created.
-fl or -obey
on page 3-6 Specifies the name of an nld command file containing nld
command tokens.
-import
on page 3-6 Imports a specified unresolved symbol from the SRL.
-l or -lib
on page 3-7 Specifies an SRL or archive file to resolve external references
from the linkfile being linked.
-L or -libvol
on page 3-8 Specifies a location to search for an SRL or archive file specified
by a simple file name in -l and -lib options.
-libname
on page 3-9 Associates a TNS/R native user library with an native loadfile.
-nostdfiles
on page 3-9 Specifies that C run-time library functions do not open the
standard input and standard output files automatically.
-nostdlib
on page 3-9 Prevents nld from searching the standard library locations for
SRLs and archive files.