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

ld(1) OSS Shell and Utilities Reference Manual
-no_optional_lib | -optional_lib
Species whether a library specied in the command line or obey le should be |
considered optional when creating a loadle. |
When -no_optional_lib behavior is in effect, any library specied in a -l or -lib |
ag is included in the .liblist section of the loadle being created. When |
-optional_lib behavior is in effect, a specied library can be omitted from the |
.liblist section of the loadle being created if omitting it would not affect how |
symbolic references are resolved.
These ags can be specied as many times as needed in the command stream.
Providing either ag overrides the current setting, so that the linker actions can
be controlled on a library-by-library basis.
If a library is specied more than once, and at least one specication occurs
when -no_optional_lib is in effect, the library is included in the .liblist section
of the loadle being created.
The default behavior is -no_optional_lib.
-no_reexport | -reexport
Tells ld whether to mark any library specied in a -l or -lib ag after this ag for
reexport in its libList entry in the loadle 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 ags can be specied as many times as needed in the command stream.
Providing either ag overrides the current setting, so that the linker actions can
be controlled on a library-by-library basis.
-nostdfiles | -no_stdfiles
Species that C run-time library functions do not automatically open the stan-
dard input and standard output les.
-nostdlib | -no_stdlib
Prevents ld from searching the standard library locations for DLLs and archive
les.
You can specify these ags as often as you want in the command line or an obey
le. Each specication 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 specically requested by other options
appears in the listing.
The default value is -no_verbose.
You can specify the ags -warn, -verbose, -noverbose, and -no_verbose as
often as you want in the command line or an obey le. The value used is the
nal value entered.
-o filename7 Species the lename of the output loadle.
lename7 can be the same as the input le name. When this is true and linking is
successful, ld 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 loadle lename depends on
540 Hewlett-Packard Company 527188-003