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

User Commands (d - f) eld(1)
-bstatic Directs eld to search only for archive les when it needs to search
for the le name specied in the -l or -lib ag.
If the le name is unqualied, in each directory searched, eld rst
tries to open a le with the name specied for the -l or -lib ag).
If eld cannot nd a le with the specied name and the search
path is not in the Guardian le system (/G), then eld prexes lib
and sufxes .a to the le name and attempts to open a le with
that modied name.
An error occurs if the opened le does not contain an archive.
For more information on search paths, see the Finding Libraries subsection of
this reference page under DESCRIPTION.
When a specied le cannot be found, eld issues an error message unless the
-allow_missing_libs ag is specied.
The -bdllsonly, -bdynamic, and -bstatic ags are search control toggles. Multi-
ple ags can be specied in a single eld invocation; the behavior specied
remains in effect until another ag in the set is specied. Thus, you can search for
both DLLs and archive les for some -l and -lib ags and search for just archive
les for others.
The default library search control is -bdynamic.
-bglobalized Controls creation of the searchList for resolving the symbols in the loadle. This
ag causes the system to use the following sequence:
For link-time resolutions:
1. The loadle itself
2. The user library, if the loadle is a program and has a user library
3. Breadth-rst transitive closure of DLLs on the libList
4. Implicit libraries
For load-time resolutions:
1. The main program
2. The user library
3. Breadth-rst transitive closure of DLLs on the libList
4. Implicit libraries
You cannot use this ag when you use the -blocalized, -bsemi_localized,or
-bsymbolic ag. The default action is the action for the -blocalized ag.
527188-003 Hewlett-Packard Company 359