Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

determine compiler version on AIX

Status
Not open for further replies.

sandyversant

Programmer
Aug 30, 2007
3
DE
Hi,
I'm newbie on AIX. and I find it very difficult to deteremine C and CPP compilers on my machine. There are too many things like xlc, xlC, vac, lslpp, etc.
How do I find the versions for the compilers?
 
Try:

lslpp -L | grep c

or

lslpp -L | more
and look after any c complier software

Regards,
Khalid
 
% lslpp -l | grep xlC
xlC.adt.include 6.0.0.0 COMMITTED C Set ++ Application
xlC.aix50.rte 6.0.0.13 COMMITTED C Set ++ Runtime for AIX 5.0
xlC.cpp 5.0.2.0 COMMITTED C for AIX Preprocessor
xlC.rte 6.0.0.0 COMMITTED C Set ++ Runtime

% lslpp -l | grep vac
vac.C 6.0.0.0 COMMITTED C for AIX Compiler

Which is my C compiler version here? and which is CPP compiler version?

 
I don't use C compilers but IMHO It is version 6!?! as shown in the vac grep!

Regards,
Khalid
 
have you tried

cc --version

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top