Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
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 flag can be used with the -export_not flag to create a subset of symbols to
be exported.
The default action when the -ul flag is not used is to export only those symbols
marked by a compiler as requiring export.
You can specify this flag as often as you want in the command line or an obey
file. Each specification is processed when encountered.
-export_not symbol_name3
Tells ld not to mark symbol_name3 for export in the output loadfile. This flag
can be used with the -export_all flag 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 specified 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 unqualified, partially
qualified, or fully qualified Guardian subvolume name.
The -first_l flag can be specified more than once in a command line or an obey
file.
See the Finding Libraries subsection under DESCRIPTION for details about
the effect of this flag on search order.
{-fl | -obey } filename5
Specifies the name of an ld command file containing ld command tokens (such
as filenames and command flag specifications).
filename5 is a C text file. 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 file, two
hyphens indicate a comment that extends to the end of the current line. Com-
mand files 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 file invoked by
itself.
You can specify this flag as often as you want in the command line or an obey
file. Each specification is processed when encountered.
-include_whole | -no_include_whole
Tells ld whether to include in the loadfile all linkable archive members of all
archive libraries encountered after this flag is specified.
Specifying -include_whole begins this linking action. When
-no_include_whole behavior is in effect, archive searches are controlled by the
existence of undefined symbols. Archives are searched in the order specified on
the command line. Symbols are marked as undefined by compilers or by the user
through the -u flag. When an archive member is found that resolves an
undefined symbol, the member´s symbols are merged into the external symbol
5−38 Hewlett-Packard Company 527188-003