C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

Table 46 Using the Guardian TNS/R Native Linker Utilities to Link SRLs
You should specify these TNS/R native linker utility flags:If your program uses:
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
C run-time library and runs in
the Guardian environment
or
-l ZCRTLSRL -l ZCRESRL
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
C run-time library and runs in
the OSS environment
or
-l ZCRTLSRL -l ZCRESRL -l ZOSSKSRL
-l ZOSSFSRL -l ZSECSRL -l ZI18NSRL
-l ZICNVSRL -l ZOSSESRL -l ZINETSRL
-l ZOSSHSRL -l ZSTFNSRL
-l ZRWSLSRL -l ZCPLSRL
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
VERSION2 C++ run-time
library and runs in the
Guardian environment
or
-l ZRWSLSRL -l ZCPLSRL -l ZCRTLSRL
-l ZCRESRL
-l ZRWSLSRL -l ZCPLSRL -l ZOSSHSRL
-l ZSTFNSRL
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
VERSION2 C++ run-time
library and runs in the OSS
environment
or
-l ZRWSLSRL -l ZCPLSRL -l ZCRTLSRL
-l ZCRESRL -l ZOSSKSRL -l ZOSSFSRL
-l ZSECSRL -l ZI18NSRL -l ZICNVSRL
-l ZOSSESRL -l ZINETSRL -l ZOSSHSRL
-l ZSTFNSRL
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
VERSION2 Standard C++
Library, Tools.h++ (version 7)
and runs in the Guardian
environment
or
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
-l ZCRTLSRL -l ZCRESRL
-l ZTLHSRL -l ZRWSLSRL -l ZCPLSRL
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
VERSION2 Standard C++
Library, Tools.h++ (version 7)
and runs in the OSS
environment
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
-l ZSTLSRL
-OBEY $SYSTEM.SYSTEM.LIBCOBEY
VERSION3 Standard C++
Library and runs in the OSS
or Guardian environment
-l ZUTILSRL and other SRLs required by the program environmentOSS nlist() function
-l ZINETSRL and other SRLs required by the program environmentTCP/IP socket library
For more details about the linkers, see these manuals:
nld Manual
ld Manual
Examples
1. The specified nld flags link a VERSION2 Guardian C++ program that uses the Tools.h++
class libraries (ZTLHSRL) and the Standard C++ Library (ZRWSLSRL):
Working in the Guardian Environment 297