Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
eld(1) OSS Shell and Utilities Reference Manual
-bstatic Directs eld to search only for archive files when it needs to search
for the file name specified in the -l or -lib flag.
If the file name is unqualified, in each directory searched, eld first
tries to open a file with the name specified for the -l or -lib flag).
If eld cannot find a file with the specified name and the search
path is not in the Guardian file system (/G), then eld prefixes lib
and suffixes .a to the file name and attempts to open a file with
that modified name.
An error occurs if the opened file does not contain an archive.
For more information on search paths, see the Finding Libraries subsection of
this reference page under DESCRIPTION.
When a specified file cannot be found, eld issues an error message unless the
-allow_missing_libs flag is specified.
The -bdllsonly, -bdynamic, and -bstatic flags are search control toggles. Multi-
ple flags can be specified in a single eld invocation; the behavior specified
remains in effect until another flag in the set is specified. Thus, you can search for
both DLLs and archive files for some -l and -lib flags and search for just archive
files for others.
The default library search control is -bdynamic.
-bglobalized Controls creation of the searchList for resolving the symbols in the loadfile. This
flag causes the system to use the following sequence:
• For link-time resolutions:
1. The loadfile itself
2. The user library, if the loadfile is a program and has a user library
3. Breadth-first transitive closure of DLLs on the libList
4. Implicit libraries
• For load-time resolutions:
1. The main program
2. The user library
3. Breadth-first transitive closure of DLLs on the libList
4. Implicit libraries
You cannot use this flag when you use the -blocalized, -bsemi_localized,or
-bsymbolic flag. The default action is the action for the -blocalized flag.
3−60 Hewlett-Packard Company 527188-021