Building IBM MQ C++ programs
The URL of supported compilers is listed, together with the commands to use to compile, link and run C++ programs and samples on IBM MQ platforms.
For a list of the compilers for each supported platform and version of IBM MQ, see System Requirements for IBM MQ.
The command we need to compile and link the IBM MQ C++ program depends on your installation and requirements. The examples that follow show typical compiling and linking commands for some of the compilers using the default installation of IBM MQ on a number of platforms.
- Building C++ programs on AIX
Build IBM MQ C++ programs on AIX using the XL C Enterprise Edition compiler.- Building C++ programs on IBM i
Build IBM MQ C++ programs on IBM i using the ILE C++ compiler.- Building C++ programs on Linux
Build IBM MQ C++ programs on Linux using the GNU g++ compiler.- Building C++ programs on Windows
Build IBM MQ C++ programs on Windows by using the Microsoft Visual Studio C++ compiler.- Building C++ programs on z/OS Batch, RRS Batch and CICS
Build IBM MQ C++ programs on z/OS for the Batch, RRS batch or CICS environments and run the sample programs.- Building C++ programs on z/OS UNIX System Services
Build IBM MQ C++ programs on z/OS for Unix System Services.Parent topic: Developing C++ applications