Chapter 30. Building your application on Solaris

This chapter describes the additional tasks, and the changes to the standard tasks, you must perform when building WebSphere MQ for Solaris applications to run under Solaris. COBOL, C, and C++ programming languages are supported. For information about preparing your C++ programs, see WebSphere MQ Using C++.

In addition to coding the MQI calls in your source code, you must add the appropriate include files. You should make yourself familiar with the contents of these files. See Appendix F, WebSphere MQ data definition files for a full description.

Solaris applications must be built threaded, regardless of how many threads the application uses. This is because WebSphere MQ will create background threads. Do not use nonthreadsafe functions such as:

Use their threadsafe equivalents.

Throughout this chapter the \ character is used to split long commands over more than one line. Do not enter this character, enter each command as a single line.



© IBM Corporation 1993, 2002. All Rights Reserved