![HP nld Скачать руководство пользователя страница 55](http://html.mh-extra.com/html/hp/nld/nld_manual_165146055.webp)
nld Utility
nld and noft Manual — 520384-003
2- 27
Searching for Archives and SRLs With Simple
Filenames
Searching for Archives and SRLs With Simple
Filenames
A simple name is a Guardian file identifier or an OSS pathname without any directory
components.
By default,
nld
searches a standard set of library locations for archive files and SRLs
specified with simple names in the option
-l or -lib
on page 3-7. You can stop
nld
from
searching the standard library locations with the option
-nostdlib
on page 3-9.
nld
does not search the standard library locations for archive files and SRLs specified with
simple names on the
nld
command line.
Each version of
nld
searches a particular set of standard library locations:
•
The Guardian version of
nld
searches for SRLs and archive files in the subvolume
with the current version of the operating system image (the active
$SYSTEM.SYSnn
subvolume).
•
The OSS version of
nld
searches for SRLs and archive files in the following
standard library locations, in the order shown:
1. The directory with the current version of the operating system image (the active
/G/system/sys
nn
directory).
2. The
/lib
directory.
3. The
/usr/lib
directory.
4. The
/usr/local/lib
directory.
In the OSS environment, the value of the
COMP_ROOT
environment variable is
added to the beginning of
/lib
,
/usr/lib
, and
/user/local/lib
. By default,
the value of
COMP_ROOT
is null.
The Guardian version of
nld
does not modify the simple name. The OSS version of
nld
modifies the simple name as follows:
In dynamic linking,
nld
first looks for a file named
lib
Filename
.srl
and then for a
file named
lib
Filename
.a
. In static linking,
nld
looks only for a file named
lib
Filename
.a
.
nld
follows this process in each directory it is searching before
moving on to the next directory.
Dynamic and static linking are controlled with the
-bdynamic
and
-bstatic
flags.
See
Dynamic and Static Linking
on page 2-28 for details.
Note.
This subsection does not apply to the PC. On the PC, you must specify the location for
nld
to look for SRLs and archives; there are no standard library locations.
Linking Specified
Prefix Added to Simple Name
Suffix Added to Simple Name
Dynamic
lib
.srl
Static
lib
.a
Содержание nld
Страница 12: ...Contents nld and noft Manual 520384 003 x ...
Страница 16: ...What s New in This Manual nld and noft Manual 520384 003 xiv Miscellaneous ...
Страница 22: ...About This Manual nld and noft Manual 520384 003 xx Change Bar Notation ...
Страница 28: ...Introduction to the Utilities nld and noft Manual 520384 003 1 6 strip ...
Страница 60: ...nld Utility nld and noft Manual 520384 003 2 32 Declaration and Definition ...
Страница 78: ...nld Options nld and noft Manual 520384 003 3 18 y ...
Страница 90: ...noft Utility nld and noft Manual 520384 003 4 12 Debugging With noft ...
Страница 150: ...strip Utility nld and noft Manual 520384 003 7 2 ...
Страница 160: ...Converting From Binder to nld and noft nld and noft Manual 520384 003 9 8 Comparing Binder Commands to noft Options ...
Страница 242: ...nld Diagnostic Messages nld and noft Manual 520384 003 10 82 Informational Messages ...
Страница 278: ...noft Diagnostic Messages nld and noft Manual 520384 003 11 36 Syntax Errors ...
Страница 286: ...ar Diagnostic Messages nld and noft Manual 520384 003 12 8 ...
Страница 314: ...Sample nld and noft Session nld and noft Manual 520384 003 A 28 LISTSRLFIXUPS ...
Страница 330: ...Index nld and noft Manual 520384 003 Index 10 Special Characters ...