Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

ld(1) OSS Shell and Utilities Reference Manual
starting with __sti__ (global constructors), __std__ (global destructors),
__INIT__ (initialization functions), or __TERM__ (termination func-
tions)
This ag can be used with the -export_not ag to create a subset of symbols to
be exported.
The default action when the -ul ag is not used is to export only those symbols
marked by a compiler as requiring export.
You can specify this ag as often as you want in the command line or an obey
le. Each specication is processed when encountered.
-export_not symbol_name3
Tells ld not to mark symbol_name3 for export in the output loadle. This ag
can be used with the -export_all ag to create sets of symbols to be exported.
symbol_name3 cannot be the same symbol as symbol_name2.
The default action is to export all symbols marked by a compiler as requiring
export.
-first_l pathname1
Tells ld to use the specied pathname when searching for libraries. pathname1
is used in library searches before the public libraries are searched.
You cannot embed spaces (blanks) in pathname1. A pathname can be either a
relative or absolute OSS directory pathname or an unqualied, partially
qualied, or fully qualied Guardian subvolume name.
The -rst_l ag can be specied more than once in a command line or an obey
le.
See the Finding Libraries subsection under DESCRIPTION for details about
the effect of this ag on search order.
{-fl | -obey } filename5
Species the name of an ld command le containing ld command tokens (such
as lenames and command ag specications).
lename5 is a C text le. Tokens can be separated by spaces, tabs, or ends of
lines. Tokens can contain double quotation marks (") to group items into a sin-
gle string, consistent with OSS shell usage. Within the command le, two
hyphens indicate a comment that extends to the end of the current line. Com-
mand les can be nested; there is no limit to the depth of nesting. Recursive
nesting does not cause an error; ld does not read a command le invoked by
itself.
You can specify this ag as often as you want in the command line or an obey
le. Each specication is processed when encountered.
-include_whole | -no_include_whole
Tells ld whether to include in the loadle all linkable archive members of all
archive libraries encountered after this ag is specied.
Specifying -include_whole begins this linking action. When
-no_include_whole behavior is in effect, archive searches are controlled by the
existence of undened symbols. Archives are searched in the order specied on
the command line. Symbols are marked as undened by compilers or by the user
through the -u ag. When an archive member is found that resolves an
undened symbol, the member´s symbols are merged into the external symbol
538 Hewlett-Packard Company 527188-004