User defined procedures should be compiled according to this platform specific list:
Platform
Compiler Version & Vendor
c++ Compiler
c Compiler
Linux
gcc version 4.1.2
g++
gcc
Solaris
Sun Studio 11 Software
CC
cc
AIX
IBM XL C/C++ for AIX, V12.1
xlC_r
cc_r