SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)

C/C++ Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL523627-004
15-38
c89 Utility: Using One Command for All Compilation
Steps
embedded SQL/MX C++ programs, and .c for embedded SQL/MP C programs). For a
list of file extensions for SQL/MX source files, see Program Files on page 17-1.
Your application program can run in the OSS or Guardian environment. Use the c89
-Wsystype=oss option (which is the default) if you want your application to be an
OSS program. Use the c89 -Wsystype=guardian option if you want your
application to be a Guardian program. For more information, see Building SQL/MX
Guardian Applications in the OSS Environment on page 15-57.
SQL/MX Compiling
Use the -Wmxcmp[=args] command to invoke the SQL/MX compiler. For a full
description of how to use the SQL/MX compiler, see Running the SQL/MX Compiler on
page 15-26.