SQL/MX Programming Manual for C and COBOL (H06.10+, J06.03+)
C/C++ Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—544617-003
15-29
Running the C/C++ Compiler and Linker
On Windows, you can run the C/C++ compiler and native object file linker from ETK, or
you can use the command-line cross compiler c89 and the linker (eld or nld). For
details on syntax and using the C/C++ cross compiler with ETK, see the help file Using
Command-Line Cross Compilers on Windows, which is included with ETK.
To run the C/C++ compilers, see the C/C++ Programmer’s Guide. To run the eld
linker, see the eld Manual. To run the nld linker, see the nld Manual. For more
information on the c89 utility, see c89 Utility: Using One Command for All Compilation
•
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
•
c89 OSS environment on 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
•
NMC (C) Guardian environment on a
NonStop system running
H06.05 or later RVU or a
NonStop system running a
G-series RVU
Guardian or OSS
environment on a NonStop
system running a G-series
RVU
•
NMCPLUS (C++) Guardian environment on a
NonStop system running
H06.05 or later RVU or a
NonStop system running a
G-series RVU
Guardian or OSS
environment on a NonStop
system running a G-series
RVU
Note. The default C++ run-time library for CPPCOMP and NMCPLUS is version3. You can
use either version3 or version2 when you issue your C++ compiler command.
Table 15-1. HP NonStop C/C++ Compilers for Embedded SQL/MX Programs
Compiler
Compiler Operating
Environment
Program Execution
Environment
*
The native C cross compilers can be run from ETK or from the PC command line.










