AIX Switches

Use the following compile and link switches when building shared libraries on AIX.

xlC 10.0 on a PowerPC

Important: Include the code for extfn_use_new_api() in each UDF library.
Note: To compile on AIX 6.1 systems, the minimum level of the xlC compiler is 10.0.

compile switches

-q64 -qarch=ppc64 -qtbtable=full -qsrcmsg -qalign=natural -qnoansialias 
-qmaxmem=-1 -qenum=int -qhalt=e -qflag=w -qthreaded -qxflags=NLOOPING 
-qtmplinst=none -qthreaded

link switches

-brtl -G -lg  -lpthreads_compat -lpthreads -lm_r -ldl -bnolibpath -v