SQL/MX 3.2 Programming Manual for C and COBOL (H06.25+, J06.14+)

C/C++ Program Compilation
HP NonStop SQL/MX Release 3.2 Programming Manual for C and COBOL663854-002
15-27
Windows-Hosted SQL/MX C/C++ Preprocessor
A user calls the SQL preprocessor to preprocess a source program. The SQL
preprocessor uses the header files and libraries from the SQL preprocessor
installation directory.
The SQL preprocessor is invoked by c89. c89 uses the SQL preprocessor version
defined by MXSQLC. The SQL preprocessor uses the libraries and header files
related to that version.
If MXSQLC is not set, the cross compiler invokes the latest version of the SQL/MX
C/C++ preprocessor installed on the system.
An IDE is used. The IDE invokes c89, which uses MXSQLC to select an alternative
version. Some of the IDEs are:
Enterprise Tool Kit (ETK)—plug-in for Microsoft Visual studio
The environment variable MXSQLC must be set before starting ETK.
Enterprise Plugins for Eclipse (EPE)—plug-in for Eclipse
When Eclipse is used, MXSQLC is set by EPE based on the value of the
preprocessor installation location.