On Wed, 28 Jan 2004 08:54:27 -0800, radhika wrote:
I am running DB2 UDB V7 on AIX 4.3.2.
My question is how do i know that i have C compiler installed on my server or not.
I am looking for a command not to compile and see it exists or not..
is there a AIX command which tells me whether i have a C compiler or not?
Thanks
Radhika
Radhika,
I guess this question is because you are wanting to create SQL stored
procedures ?
On AIX, the default C compiler is xlC (or xlc : it's case sensitive). You
could look using smitty (the AIX config tool) for the C/C++ packages.
If you don't, and you don't want to splash out for this, then consider
using the GCC compiler. We've been doing this for some time without
problems. To do this you want to get package rpm.rte, and then the RPM
for GCC from the IBM website (go to
http://www.ibm.com and enter the
search criteria "AIX GNU"). You then need to set up a DB2 registry
variable using db2set to give it the GCC rather than IBM C compiler
compile string.
I've not got this to hand here at home, but if you need more details drop
me a line on
ph***********@s cottishwidows.c o.uk or
te*****@scotdb. com
HTH
Phil