NonStop JMS C++ API Programmer's Guide

Using the NSJMS C++ APIs
NonStop Server for Java Message Service C++ API Programmer’s Guide526459-002
5-13
Compiling and Linking User Written C++ Programs
for use with the NSJMS C++ API
Compiling and Linking User Written C++ Programs for use with
the NSJMS C++ API
Information about compiling and linking user written C++ programs for use with the
NSJMS C++ APIs are described in:
Compiling User Written C++ Programs
Linking User Written C++ Programs on page 5-14
Detailed descriptions of the compile options and link options can be found in these
manuals:
nld and noft Manual — describes how to use the native link editor (nld) and the
native object file tool (noft).
C/C++ Programmer's Guide — describes how to write C and C++ programs that
run in the Open System Services (OSS) environment on NonStop systems.
Additionally, the manual describes HP extensions to the C and C++ languages for
NonStop servers.
Open System Services Shell and Utilities Reference Manual — describes the
syntax and semantics for using the OSS shell and utilities, which includes c89 and
nld.
Compiling User Written C++ Programs
NSJMS C++ APIs header files are installed in an include subdirectory within the
NSJMS C++ APIs installation directory,
/usr/tandem/nsjms/T2811-version/include. This include directory must be
added to the list of directories searched by c89 during compilation of programs that use
the NSJMS C++ APIs classes. The following include statement is required to include
the necessary header files for the NSJMS C++ API:
#include "nsjmsc.h"