1834331 Members
2544 Online
110066 Solutions
New Discussion

Re: C++ runtime library

 
SOLVED
Go to solution
dineshsethiya
Occasional Contributor

C++ runtime library

Hi,
( OS - HP-UX 11i )
Please can anybody help me that

(a) how to determine which version of C++ library is installed on the system i.e. is it a 1. Classic C++ runtime OR
2. Standard C++ runtime.

When I do swlist on two different servers which has got different aCC version i get the followings :

Server (1) PHSS_28880 1.0 HP aC++ -AA runtime libraries (aCC A.03.50)
( I believe this should be the Standard C++ runtime)
Server (2) PHSS_31222 1.0 HP aC++ Compiler (A.03.57)

By seeing the above is it that the server (2) have the old classic C++ library.

Regards,
Dinesh
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: C++ runtime library

>) how to determine which version of C++ library is installed on the system

Use swlist as you did. Or use what(1) on the libraries.

>i.e. is it a 1. Classic C++ runtime OR 2. Standard C++ runtime.

As of A.03.25, the aC++ runtime includes both -AA and -AP libs.

>By seeing the above is it that the server (2) have the old classic C++ library.

No. That -AA probably shouldn't be in the description string anymore. You have both -AA and -AP. A.03.57 > A.03.50
dineshsethiya
Occasional Contributor

Re: C++ runtime library

Thanks Dennis.

Also below is the option in my makefile
AE_CXX_FLAGS = \
-Aa -z -g +p +DA1.1 -c \
-D_HPUX_SOURCE \
-D_REENTRANT \
-D_THREAD_SAFE \

And there is no -AA or -AP option explicitly mentioned. So which one it will pickup by default in the case when :
(1) I'm on aCC 3.25
(2) I'm on aCC 3.50
and
(3) I'm on aCC 3.65.

Regards,
Dinesh
Dennis Handly
Acclaimed Contributor
Solution

Re: C++ runtime library

>And there is no -AA or -AP option explicitly mentioned. So which one it will pickup by default

The default on PA is -AP. The default on IPF is (almost) -AA.

If you have your answer(s), you should look at:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33