Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

ld(1) OSS Shell and Utilities Reference Manual
-no_optional_lib | -optional_lib
Specifies whether a library specified in the command line or obey file should be
considered optional when creating a loadfile.
When -no_optional_lib behavior is in effect, any library specified in a -l or -lib
flag is included in the .liblist section of the loadfile being created. When
-optional_lib behavior is in effect, a specified library can be omitted from the
.liblist section of the loadfile being created if omitting it would not affect how
symbolic references are resolved.
These flags can be specified as many times as needed in the command stream.
Providing either flag overrides the current setting, so that the linker actions can
be controlled on a library-by-library basis.
If a library is specified more than once, and at least one specification occurs
when -no_optional_lib is in effect, the library is included in the .liblist section
of the loadfile being created.
The default behavior is -no_optional_lib.
-no_reexport | -reexport
Tells ld whether to mark any library specified in a -l or -lib flag after this flag for
reexport in its libList entry in the loadfile being created. Specifying
-no_reexport leaves the library unmarked; specifying -reexport marks the
library. Reexport is a run-time attribute that is used by rld to decide what DLLs
it needs to load.
-no_reexport is the default action.
These flags can be specified as many times as needed in the command stream.
Providing either flag overrides the current setting, so that the linker actions can
be controlled on a library-by-library basis.
-nostdfiles | -no_stdfiles
Specifies that C run-time library functions do not automatically open the stan-
dard input and standard output files.
-nostdlib | -no_stdlib
Prevents ld from searching the standard library locations for DLLs and archive
files.
You can specify these flags as often as you want in the command line or an obey
file. Each specification is processed when encountered.
-noverbose | -no_verbose
Prevents ld from writing warning and informational messages to its output list-
ing. Only error messages and output specifically requested by other options
appears in the listing.
The default value is -no_verbose.
You can specify the flags -warn, -verbose, -noverbose, and -no_verbose as
often as you want in the command line or an obey file. The value used is the
final value entered.
-o filename7 Specifies the filename of the output loadfile.
filename7 can be the same as the input file name. When this is true and linking is
successful, ld 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 you do not specify a -o flag, the default output loadfile filename depends on
540
Hewlett-Packard Company 527188-021