Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (k - l) ld(1)
table for the loadfile being created. After the merge, the undefined symbol that
triggered the merge is resolved (marked as defined). The same merge might
resolve other undefined symbols or result in more undefined symbols.
You can stop the linking action of -include_whole by specifying the
-no_include_whole flag later in the command line or obey file.
These flags can be specified as many times as needed in the command stream.
Providing either flag overrides the current setting, so that the linker actions can
be controlled on a library-by-library basis.
The default setting is -no_include_whole.
{ -l | -lib } filename6
Specifies the name of a DLL or archive file to use to resolve external references
from the executable file being linked. The -l flag must be specified in lowercase
type, and the space after the flag and before filename6 is optional. -l is a
synonym for -lib.
Other flags affect how filename6 is used. See the Finding Libraries subsection
under DESCRIPTION for details.
{ -L | -libvol } pathname2
Specifies a pathname to search for a DLL or archive file specified by a simple
filename in an -l or -lib flag. A simple filename is an OSS pathname without any
directory components. The -L flag must be specified in uppercase type, and the
space after the flag and before pathname2 is optional. -libvol is a synonym for
-L and the space before pathname2 is required.
Other flags affect how pathname2 is used. See the Finding Libraries subsection
under DESCRIPTION for details.
ld does not verify the names of locations specified in -L or -libvol flags. If you
specify the -verbose flag, ld writes to its output listing the locations where it
found a DLL or archive file.
-libname Guardian_filename
Associates a DLL as a native user library with an executable native program file.
You can associate a native user library to a program loadfile. The -set and
-change flags can also associate a native user library with an executable native
program.
The value specified for Guardian_filename cannot be the Guardian name of an
OSS file.
-limit_runtime_paths
Tells ld to mark the loadfile so that rld will omit certain locations when search-
ing for DLLs or archives to resolve symbols. See Finding Libraries in the
DESCRIPTION section of this reference page for more information.
The default action is to search all locations described in Finding Libraries.
You can specify this flag as often as you want in the command line or an obey
file. Each specification is processed when encountered.
-m | -map Tells ld to produce a memory map of the PIC program or DLL being created.
The default behavior does not produce a memory map.
You can specify this flag as often as you want in the command line or an obey
file. Each specification is processed when encountered.
527188-007 Hewlett-Packard Company 5−39