473,569 Members | 2,836 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to find the C compiler

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
Nov 12 '05 #1
2 2329
Well, you could try $ which cc and see what
comes up or simply cc.

--
BadPony
'03 ZRX1200R
'78 XS 1100
"radhika" <ra************ @hotmail.com> wrote in message
news:91******** *************** ***@posting.goo gle.com...
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

Nov 12 '05 #2
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
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4814
by: Ed Severn | last post by:
I'm sorry of this question has been posed and answered many times before. But I have avoided using the "package" statement because of this. Most of my classes have no "package" statement, and their class files are stored in my current directory. Using "javac abc.java" works just fine. But some of my classes *do* have "package" statements....
2
2197
by: Sigmund Skjelnes | last post by:
Hi! Trying to get a simple cpp program to compile, I'd got the linker complaining it could'nt find eiter cout nor endl or other object which belong to iostream. I'd had to use stdiolib to get the program working. I'd have attached the source code, some of it is Norwegian, but I'd think it will make sense anyway. Do anybody have a clue why...
5
2564
by: Jim Holder | last post by:
I tried building libpcap and tcpdump from my Red Hat 7 RPMs. The tcpdump make couldn't find ioccom.h and sockio.h. When a header file is missing, how do you find it? Thanks.
0
2089
by: Don | last post by:
I intermittently get a runtime Compilation Error that says 'The compiler failed with error code 2000'. It appears that a DLL cannot be found in the 'temporary asp.net files' directory. The Detailed Compiler Output is at the bottom of this post. This is a custom dll named UtilitiesINGR.dll that I put in the GAC. I added a machine.config...
34
2947
by: priyanka | last post by:
Hi, I was wondering if we could parse or do something in the executable( whose source language was C). How can I use some scripting language like perl/python to find out the information about the executable ? Is it possible ? Also, how does the compiler add inling to the program ? I know that whenever it sees"inline" in front of the...
21
2610
by: Chen ShuSheng | last post by:
Hey, In head file 'stdio.h', I only find the prototype of these two function but no body. Could someone pls tell me where their bodies are ? -------------- Life is magical.
5
3681
by: Abdelhalim | last post by:
Hello, I'm using xalan 2.6, and trying to invoke a transformation using XSL file that contains the function "empty", but I'm getting the below exception, I think the empty function is a valid XPath function, and XML Spy can translate docuements using this XSL file without any problems. Is it a bug in xalan? I tried 2.7 but I got the same...
22
3598
by: clicwar | last post by:
A simple program with operator overloading and copy constructor: #include <iostream> #include <string> using namespace std; class Vector { private: float x,y; public: Vector(float u, float v);
9
4057
by: TsanChung | last post by:
How to fix the following error? # make .... g++ -o src/prog ./src/addSrv.o ./src/createClntCert_main.o ./src/ createSupportFile.o ./src/deleteSrv.o ./src/replaceSrv.o ./src/ examineClntCert.o ./src/examineClntCert_main.o ./src/listSrvs.o ./src/ registerSrv.o ./src/registerSrv_main.o ./src/verify.o ./src/ DynamicLibrary.o ...
11
10243
by: zj262144 | last post by:
Hi, I'm a C beginner. I want to write a C. The pseudocodes are like this: User enters some numbers (use -1 to end) The compiler find and delete the maximum and minimum numbers Then average remained numbers Finally print the result Thanks in advance!!!
0
7695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.