nld Utility
nld and noft Manual — 520384-003
2- 20
Determining Which SRLs Programs Require
The OSS
nld
utility processes the simple names in the
-l
options as files within the
Guardian file system. For example, the following
nld
command links an OSS C++
program that uses the Tools h++ class libraries:
nld myobj.o
/usr/lib/crtlmain.o
-o myexec -l ZCRESRL
-l ZRWSLSRL -l ZCPLGSRL -l ZTLHGSRL
crtlmain
is the C run-time library initialization object file that contains code required
by all C and C++ programs.
The value of the
COMP_ROOT
environment variable is added to the beginning of the
/usr/lib
. By default, the value of
COMP_ROOT
in the OSS environment is null.
VERSION2
Standard C++
library,
Tools.h++
library
(version 7)
Guardian
-obey /usr/lib/libc.obey
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
or
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
-l ZCRTLSRL -l ZCRESRL
OSS
-obey /usr/lib/libc.obey
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
or
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
-l ZOSSHSRL -l ZCRTLSRL -l ZCRESRL
-l ZOSSKSRL -l ZOSSFSRL -l ZSECSRL
-l ZI18NSRL -l ZICNVSRL -l ZOSSESRL
-l ZINETSRL -l ZSTFNSRL
VERSION3
Standard C++
library
Either
-obey /usr/lib/libc.obey
-l ZSTLSRL
COBOL run-
time libraries
Either
-l ZCOBSRL -l ZCRESRL
OSS
nlist()
function
OSS
-l ZUTILSRL
and other SRLs required by the program
environment
TCP/IP
socket library
Either
-l ZINETSRL
and other SRLs required by the program
environment
Table 2-2. Using the OSS nld Utility to Link SRLs
(page 2 of 2)
Library That
Program
Uses
Environment
in Which
Program
Runs
nld Options to Specify
Содержание 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 ...