Operating System - HP-UX
1756525 Members
2348 Online
108848 Solutions
New Discussion юеВ

Re: To check the version of an installed software

 
Harinath N
Frequent Advisor

To check the version of an installed software

Hi,

In our running HP-UX 10.20 system, we need to find out the versions of the following softwares,

1. HP C/ANSI C Developer's Bundle for HP-UX 10.20 (S700)
2. HP C++ Compiler S700

The swlist is as follows,

B1518BA_APX A.03.00 HP Visual Editor for HP 9000 Series 700
B3691AA_APZ_TRY C.03.05.00 Trial HP GlancePlus/UX for s700 10.20
B3699AA_APZ_TRY C.03.05.00 Trial HP GlancePlus/UX Pak for s700 10.20
B3782EA B.10.20 HP-UX Media Kit (Reference Only. See Description)
B3898AA_APZ B.10.20.00 HP C/ANSI C Developer's Bundle for HP-UX 10.20 (S700)
B3910AA_APZ B.10.20.02 HP C++ Compiler S700
B4965AA_APZ_TRY C.03.05.00 Trial HP MeasureWare Server Agent for s700 10.20
B5724AA_APZ A.2.6.358 HP-UX Installation Utilities (Ignite-UX - S700 - 10.20)
B6193EA ACE.199912.01 Workstation ACE for HP-UX 10.20 (December 1999)
HPUXEngCR700 B.10.20 English HP-UX CDE Runtime Environment
HPUXEngRT700 B.10.20 English HP-UX VUE Runtime Environment
ITOSEEng A.05.51 ITO Special Edition, English
J2559C D.01.08 Hewlett-Packard JetAdmin for Unix Utility
OnlineDiag B.10.20 HPUX 10.0 Support Tools Bundle


Can anyone guide me in finding out the version of the required softwares?.


Thanks and Regards,
N.Harinath.


4 REPLIES 4
Santosh Nair_1
Honored Contributor

Re: To check the version of an installed software

How about doing:

/opt/ansic/bin/cc -V

and

/opt/CC/bin/CC -V

-Santosh
Life is what's happening while you're busy making other plans
Animesh Chakraborty
Honored Contributor

Re: To check the version of an installed software

Hi,
Try "what" command
do man what.



best of luck
Animesh
Did you take a backup?
Harinath N
Frequent Advisor

Re: To check the version of an installed software

Hi Santhosh,

Thanks for the reply.
The output from the system is as follows,

# /opt/ansic/bin/cc -V
/usr/ccs/bin/ld: 92453-07 linker linker ld B.10.33 990520
/usr/ccs/bin/ld: Unsatisfied symbols:
main
# /opt/ansic/bin/cc -v
cc: CCOPTS is not set.
cc: LPATH is /usr/lib/pa1.1:/usr/lib:/opt/langtools/lib:
/usr/ccs/bin/ld /opt/langtools/lib/crt0.o -u main -lc
cc: Entering Link editor.
/usr/ccs/bin/ld: Unsatisfied symbols:
main


# /opt/CC/bin/CC -V
CC: warning: unknown option: `-V' (901)
# /opt/CC/bin/CC -v
# -- NO OUTPUT --

Regards,
N.Harinath.
Santosh Nair_1
Honored Contributor

Re: To check the version of an installed software

Okay, that doesn't seem to be working (sorry, I don't have access to my HP system right now). You should be able to do a what on the compiler (as Animesh mentioned), i.e.

what /opt/ansic/bin/cc
what /opt/CC/bin/CC

This should tell you what versions the compilers are.

-Santosh
Life is what's happening while you're busy making other plans