Operating System - HP-UX
1832279 Members
2302 Online
110041 Solutions
New Discussion

How to find out the version of a HP C/ANSI compiler ?

 
SOLVED
Go to solution
Guilherme Belinelo
Occasional Advisor

How to find out the version of a HP C/ANSI compiler ?

Hi,

I need to have the shared libraries distributed with the HP ANSI C++ Compiler (aCC) version 3.15 in order to install a new version of an application.

I have the HP C/ANSI C Developer?s Bundle for HP9000 Servers (B3901BA) installed. My question is how to obtain the version of my installed software. And is it newer than the 3.15 version ?

Thanks,

Guilherme
3 REPLIES 3
Rita C Workman
Honored Contributor
Solution

Re: How to find out the version of a HP C/ANSI compiler ?

Check if this thread might answer your question:

http://devresource.hp.com/devresource/Tools/cpp/rels.html

/rcw
Samuel Bouhnik
Advisor

Re: How to find out the version of a HP C/ANSI compiler ?

Hi,

There are two ways to find the current installed version :
- swlist -l product | grep aCC
- what /usr/lib/libCsup.sl

You can get the last version from your response center or form the path web sites.

Regards,

Samuel
R Madhavan
Frequent Advisor

Re: How to find out the version of a HP C/ANSI compiler ?

HP C/ANSI C and HP aC++ are two different products. For HP C/ANSI C (B3901BA) the versions will be 11.xx.xx and for aCC+ (B3913DB) it may be 3.xx

You can use swlist or what commands to check.

for aCC+ - what /opt/aCC/bin/aCC
For ANSI C - what /opt/ansic/bin/cc

/