nld and noft Manual

nld Options
nld and noft Manual520384-003
3-11
-o
-o
Specifies the name of the output object file.
filename
is the name of the output file, either by name or (in the Guardian environment) by
map DEFINE. This filename can be the same as the input filename. If linking is
successful, nld deletes the input file and then writes the output file. An error
occurs if you do not have permission to delete the input file.
If filename exists and is not in use, nld appends the listing to the file.
If filename exists and is in use, nld makes up to 10 attempts to change the name
of filename to ZZNDnnnn. If these 10 attempts fail, nld makes up to 10 attempts
to create a new file named ZZNDnnnn. If these 10 attempts also fail, no file
containing the new information is created and nld reports an error.
If you do not specify a -o option, the default output filename is a.out in the OSS
environment and AOUT in the Guardian environment.
The output file first created by nld has a temporary filename that is later renamed to
either the default filename or the filename specified with the -o option. An abnormal
termination of nld can produce a file with a temporary filename in the OSS
environment. The OSS filename is of the form ZZNLDnnn.
-r
Causes nld to create a linkfile instead of a loadfile. nld creates a loadfile by default.
See Native Object Files
on page 1-2 for information on the characteristics of linkfiles
and loadfiles.
-o filename
-r