SQL/MX 3.1 Programming Manual for C and COBOL (H06.23+, J06.12+)

C/C++ Program Compilation
HP NonStop SQL/MX Release 3.1 Programming Manual for C and COBOL663854-001
15-33
Running the C/C++ Compiler and Linker
Running the C/C++ Compiler and Linker
The HP NonStop C/C++ compilers translate source code into machine language that is
specific to a particular NonStop system architecture. The type of C/C++ compiler that
you use to compile your SQL/MX program determines the NonStop system and
environment where you can run the program.
Table 15-1 on page 15-33 lists the C/C++ compilers, the environments where you can
run the compilers, and the environments where you can run the compiled programs.
Note. TNS/R native compilation tools are available on systems running H06.05 or later RVUs.
Table 15-1. HP NonStop C/C++ Compilers for Embedded SQL/MX Programs
Compiler
Compiler Operating
Environment
Program Execution
Environment
TNS/E native compilers:
Native C cross
compiler for TNS/E
*
Windows environment on a
PC connected to a NonStop
system running an H-series
RVU
OSS or Guardian
environment on a NonStop
system running an H-series
RVU
c89 OSS environment on a
NonStop system running an
H-series RVU
OSS or Guardian
environment on a NonStop
system running an H-series
RVU
CCOMP (C) Guardian environment on a
NonStop system running an
H-series RVU
Guardian or OSS
environment on a NonStop
system running an H-series
RVU
CPPCOMP (C++) Guardian environment on a
NonStop system running an
H-series RVU
Guardian or OSS
environment on a NonStop
system running an H-series
RVU
TNS/R native compilers:
Native C cross
compiler for TNS/R
*
Windows environment on a
PC connected to a NonStop
system running H06.05 or
later RVU or a NonStop
system running a G-series
RVU
OSS or Guardian
environment on a NonStop
system running a G-series
RVU
*
The native C cross compilers can be run from ETK or from the PC command line.