AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi ,all
I have written some C program on AIX box,and I first use CC compiler to compile it ,and it be successful compiled and linked, I can run the program for a correct result.
But I try use the IBM's compiler --xlC_r to compile the same code, I failed to compile the .c files to .o files.
And then I use CC to compile the .c files to .o files,and then use xlC_r to link them together for a executable file. I've got success, but the executable runs for a wrong result.
So I want to know what's the difference between these two compiler?And how can i modfiy my program to make it successful compiled with xlC_r compiler.
Originally posted by bigapple CC is a standard UNIX C compiler
OK, sorry.
I just wanted to understand the difference, on your AIX systems. Usually, on AIX systems, cc and CC are the standard IBM AIX c compiler. So, I don't clearly see the difference between using CC and IBM c compiler...
Except if you were meaning understanding the difference between CC and xlC_r in the same IBM C compiler environment ? Then "man cc" should help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.