On Solaris

32 bit applications

Compile the API exit source code by issuing the following:

cc -xarch=v8plus -mt -G -o /var/mqm/exits/amqsaxe amqsaxe0.c  \
   -I/opt/mqm/inc -L/opt/mqm/lib -R/opt/mqm/lib -R/usr/lib/32   \
   -lmqm  -lmqmcs  -lmqmzse -lsocket -lnsl -ldl

64 bit applications

Compile the API exit source code by issuing the following:

cc -xarch=v9 -mt -G -o /var/mqm/exits64/amqsaxe amqsaxe0.c  \
   -I/opt/mqm/inc -L/opt/mqm/lib64 -R/opt/mqm/lib64 -R/usr/lib/64   \
   -lmqm  -lmqmcs  -lmqmzse -lsocket -lnsl -ldl