Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

eld(1) OSS Shell and Utilities Reference Manual
If you are creating an import library to represent a set of implicit DLLs, (all of the
specied DLLs have the implicit bit set in their headers), then you can also use a
private DLL registry. The value specied for lename9 is used as the entry name
for the implicit libraries in the private DLL registry.
To use this ag, at least one DLL le must be specied somewhere in the com-
mand line or obey le.
-must_preset Tells eld to treat the situation as an error when presetting fails. If this ag is omit-
ted, the linker continues.
-must_use_iname
Tells eld to treat the situation as an error when it cannot delete an existing le to
create an import library le of the same name.
The default behavior is to issue a warning message.
-must_use_oname
Tells eld to treat the situation as an error when it cannot delete an existing le to
create the new object le created from a set of linkles, or the output le of the
-alf or -strip ags, with the same name.
The default behavior is to issue a warning message.
-must_use_rname
Tells eld to treat the situation as an error when it cannot delete an existing le to
create a private DLL registry le of the same name.
The default behavior is to issue a warning message.
-no_optional_lib | -optional_lib
Species whether a DLL specied in the command line or obey le should be con-
sidered optional when creating a loadle.
When -no_optional_lib behavior is in effect, any specied library 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.
For example, a DLL can be omitted when all of the following are true:
The DDL does not export symbols that resolve any references in the
loadle being created
The DLL does not cause other DLLs to be added to the search list, where
the other DLLs resolve references in the loadle being created
The DLL does not cause other DLLs to be placed in a different order
within the search list when those DLLs resolve references in the loadle
being created
These ags can be specied as many times as needed in the command line or obey
le. 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, eld uses the specication in effect for the
rst instance of the DLL that it processes and ignores the other specications.
The default behavior is -no_optional_lib.
368 Hewlett-Packard Company 527188-007