1829108 Members
14025 Online
109986 Solutions
New Discussion

cc compiler version

 
SOLVED
Go to solution
Chartier Jerome
Frequent Advisor

cc compiler version

Hello,

How can i get the version of the cc compiler installed on an HP 11 box??(C/ANSI developper's bundle)

Thanks in advance

Regards

J??r??me
J@Y
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor
Solution

Re: cc compiler version

try swlist
but you should get it with a -v option to the compiler.

Later,
Bill
It works for me (tm)
Robert-Jan Goossens
Honored Contributor

Re: cc compiler version

Hi Jerome,

You can use,

ANSI C
# what /opt/ansic/bin/cc
# swlist -l product | grep CC

Kind regards,

Robert-Jan.
A. Clay Stephenson
Acclaimed Contributor

Re: cc compiler version

swlist

or

cc -V myfile.c

(myfile.c can be an empty file; we just want -V to output the version).
If it ain't broke, I can fix that.