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

five steps (running Cprep, Cfront, the TNS C compiler, Binder, and the Accelerator). In comparison,
to create an executable native C++ program, you run only the native C++ compiler and a TNS/R
native linker.
TNS/R Native C Run-Time Library
The native C run-time library provides functions conforming to the ISO/ANSI C Standard. It also
contains functions conforming to the X/OPEN UNIX 95 specification and HP extensions to these
standards.
The native C run-time library supports Guardian and OSS processes. The native C run-time library
is nearly identical for the Guardian and OSS environments and therefore increases the
interoperability between environments. For more details on interoperability, see the Open System
Services Programmer’s Guide.
The native C run-time library provides locale-sensitive functions and algorithmic code-set converters
for use in internationalized OSS applications. For more details, see the Software Internationalization
Guide.
C++ Run-Time Library and Standard C++ Library
The C++ run-time library and the Standard C++ Library are available to every C++ program.
However, there are three versions of the libraries, as listed below and in Table 14: Versions of the
Standard C++ and C++ Run-Time Libraries . Specifying a version establishes a context that includes
the dialect of the native C++ compiler, the run-time libraries available to you, and the libraries that
are automatically linked when you compile a executable object file.
VERSION1 C++ Library
For C++ VERSION1 (the default version before the G06.20 RVU), these libraries are available:
The HP NonStop C run-time library (file ZCRTLSRL)
The HP NonStop C++ run-time library (product T9227, Guardian version in file ZCPLGSRL;
OSS version in file ZCPLOSRL)
Tools.h++ version 6.1 (Guardian version in file ZTLHGSRL; OSS version in file ZTLHOSRL)
VERSION2 Standard C++ Library
For C++ VERSION2, these libraries are available:
The HP NonStop C run-time library (file ZCRTLSRL)
The HP NonStop C++ run-time library (product T0179, file ZCPLSRL)
The draft Standard C++ Library from Rogue Wave (product T5895, file ZRWSLSRL)
Tools.h++ version 7.0 (product T8473, file ZTLHSRL)
VERSION3 Standard C++ Library ISO/IEC
For C++ VERSION3 (the default version beginning with the G06.20 RVU), these libraries are
available:
The HP NonStop C run-time library (file ZCRTLSRL)
The VERSION3 library (product T2767, file ZSTLSRL), which includes:
The HP NonStop C++ run-time library
The ratified Standard C++ Library ISO/IEC from Dinkumware, based on the standard
document: ISO/IEC 14882:1998(E).
34 Introduction to HP C and C++ for NonStop Systems