AIX Compiler Version

William D Ricker wdr at TheWorld.com
Thu Aug 25 19:55:16 EDT 2005



> I am running AIX 5.2 and need to find out the AIX Compiler Version running.

> Unfortunately, there doesn't seem to be a good way to do that. 
> The best way seems to be to check the installed software list.
> In particular, I used lslpp -L | grep   <some text>

Yes, that's pretty much the best way.  You can also do the grep in
the lslpp with -h or -l flags instead:

                lslpp -h "*vac*"
                lslpp -h "*vacpp*"  # for CPP
but also check for xlC too ...
                lslpp -h "xlC*"  # for the other C compiler
		lslpp -l xlC*
(you have to quote the pattern iff it matches something in local
directory ... :-)
              
Max version # for the key filesets does it.
Filesets are things like xlC.C and vac.C, and vac.C vac.lic vacpp.cmp
vacpp.lic xlC.adt.include xlopt.aix* xlopt.lib xlopt.rte xlopt.tools
xlsmp.aix*.rte xlsmp.rte

> any other suggestions?

> Are there any other good forums for AIX out there?

Yes, althouh I can't remember where I found them off-hand -- I found
'em with Google.

IBM has lots of useful info on AIX tools, google site:ibm.com or use
IBM's search.

-- 
/"\     Bill Ricker  N1VUX  wdr at world.std.com
\ /     http://world.std.com/~wdr/           
 X      Member of the ASCII Ribbon Campaign Against HTML Mail
/ \



More information about the Discuss mailing list