nld Manual

nld Options
nld Manual528272-001
3-9
-libname
-libname
Associates a TNS/R native user library with a native loadfile.
filename
is the Guardian name of the TNS/R native user library to be associated with the
native loadfile. It must include volume and subvolume, and its length must not
exceed 48 characters.
User libraries must have Guardian names. In OSS, filename must be in a form that
points to a Guardian file. In these examples, the two -libname options point to the
same user library.
You can associate a TNS/R native user library with a loadfile but not with a linkfile. -set
on page 3-13 and -change on page 3-4 can also associate a TNS/R native user library
with a native loadfile.
-nostdfiles
Specifies that C run-time library functions do not open the standard input and standard
output files automatically.
-nostdlib
Prevents nld from searching the standard library locations for shared run-time libraries
(SRLs) and archive files.
See Searching for Archives and SRLs With Simple File Names on page 2-26 for a list
of the standard library locations.
-libname filename
Environment Command Location Example
Guardian Either in a file or on the
command line
-libname $NATIV1.CRGLIB.NLIB
OSS In a file
-libname /G/NATIV1/CRGLIB/NLIB
On the command line
-libname \$NATIV1.CRGLIB.NLIB
-nostdfiles
-nostdlib