Explanation of C Compiler for AIX


 
Thread Tools Search this Thread
Operating Systems AIX Explanation of C Compiler for AIX
# 1  
Old 10-16-2012
Explanation of C Compiler for AIX

Hi, I have the following packages installed on my AIX server

xlC.aix50.rte 10.1.0.2 COMMITTED XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 10.1.0.2 COMMITTED XL C/C++ Runtime
xlC.rte 10.1.0.2 COMMITTED XL C/C++ Runtime


Q1. Are the preprocessors actually a C compiler ?

Q2. Are the above pre-processors some sort of cut down compiler, as I am wondering how this differs from the IBM compiler delivered via vacpp.cmp.tools ?

Q3. What is the Runtime Environment ( RTE ) - how does it differ from the compiler and the linker ( I believe the linker gets installed separately using the xlcpp.util utilities package ? )


any wisdom greatly appreciated,
Jim
# 2  
Old 10-16-2012
The preprocessor is not at all a compiler. A preprocessor is a preprocessor. I suggest asking only questions here for which a direct wikipedia (or google) search came up empty before.

The "run-time environment" are some libraries used by programs compiled with the XlC compiler suite at runtime.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 10-22-2012
was told by a unix admin that the preprocessor was a compiler - thanks for the correction
# 4  
Old 10-22-2012
Quote:
Originally Posted by jimthompson
was told by a unix admin that the preprocessor was a compiler
In this case, and if you are a non-technical person i offer my apologies. Still, get another unix admin and have this one fired for proven incompetence.

I hope this helps.

bakunin
# 5  
Old 10-22-2012
Quote:
Originally Posted by jimthompson
was told by a unix admin that the preprocessor was a compiler - thanks for the correction
It's part of one. Part of a compiler won't compile, the same way part of a car won't move.

It handles statements like #include and #define, translating them into actual source code. But that's all it can do; it's a text replacement engine, not a machine code generator.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX - NIC device explanation need

Hello, I have some doubt about the NIC device on my AIX box. When using lsdev command / > lsdev -Cc adapter | grep en ent0 Available 03-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent1 Available 03-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent2... (11 Replies)
Discussion started by: Phat
11 Replies

2. AIX

AIX Xlc compiler

Hi Team I have a native applicaiton built on AIX using the xLC v8 Which could be the possible impacts from a code change point of view if I'll compile with the xLC v10? Thanks Marco (0 Replies)
Discussion started by: antcos
0 Replies

3. AIX

C++ compiler for AIX

please I want a help to how can I get C++ compiler to AIX OS. (3 Replies)
Discussion started by: Ahmed waheed
3 Replies

4. AIX

How to install gcc compiler on AIX?

I want to install gcc compiler on aix box. $uname -a AIX GTMIT 3 5 000000000000 Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ? What is boot straping ? Its urgent .. Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies

5. AIX

AIX 5.3 gcc compiler

Hi there I've got a problem getting my mysql libraries to work. every time I compile my source code it gives my a compiler error. Cannot find a rule to create target /usr/include/mysql/mysql.h AND /usr/include/mysql/mysql.h: Permission denied Is anyone fimiliar with this error, and can... (1 Reply)
Discussion started by: cipher#1
1 Replies

6. UNIX for Dummies Questions & Answers

AIX 5.3 gcc compiler

Hi there I've got a problem getting my mysql libraries to work. every time I compile my source code it gives my a compiler error. Cannot find a rule to create target /usr/include/mysql/mysql.h AND /usr/include/mysql/mysql.h: Permission denied Is anyone fimiliar with this error, and can... (0 Replies)
Discussion started by: cipher#1
0 Replies

7. AIX

C/C++ compiler ver 6 on AIX 5.3 - errors

Hi Guys, We are migrating AIX 5.1 to AIX 5.3. With this upgrade the C/C++ compiler is also upgraded to Visual Age C++ 6.0. After upgrading, when we tried to (re)compile our programs (since ibm open library classes are not going to work with new compiler), we are getting so many errors with no... (2 Replies)
Discussion started by: satguyz
2 Replies

8. AIX

Looking for C-ISAM libsiam.a for C compiler on AIX 5

I am coding a small C program to read CISAM database and need the ISAM library (libisam.a) for the C compiler on AIX 5. I do not know my solution works or not currently and do research/test only. Does someone have such a library and borrow it to me for testing? Thanks a lot. (0 Replies)
Discussion started by: hxm1303
0 Replies

9. Programming

Looking for C-ISAM libsiam.a for C compiler on AIX 5

I am coding a small C program to read CISAM database and need the ISAM library (libisam.a) for the C compiler on AIX 5. I do not know my solution works or not currently and do research/test only. Does someone have such a library and borrow it to me for testing? Thanks a lot. (0 Replies)
Discussion started by: hxm1303
0 Replies

10. AIX

gcc compiler on AIX 5.2

Does anybody know a web site where I could download gcc for AIX 5.2 (I've downloaded gcc 3.2 from http://www.bullfreeware.com/, but it doesn't work)? Thanks a lot for your answers. (2 Replies)
Discussion started by: SMISS
2 Replies
Login or Register to Ask a Question