- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to retrieve aCC compiler version from dynamic ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2005 08:16 PM
тАО02-09-2005 08:16 PM
How to retrieve aCC compiler version from dynamic library on HP-UX 11.00 ?
I would like to retrieve the version for the aCC compiler used to build dynamic library.
Indeed, I need to know if aCC version is 03.35 or higher because those versions include PHSS_26952 patch correcting slow memory leak in list push_back and pop_front methods.
Thanks in advance for your help.
Best regards.
Didier
- Tags:
- aC++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2005 08:26 PM
тАО02-09-2005 08:26 PM
Re: How to retrieve aCC compiler version from dynamic library on HP-UX 11.00 ?
Try the what command on the library
# what /usr/lib/....
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2005 11:08 PM
тАО02-09-2005 11:08 PM
Re: How to retrieve aCC compiler version from dynamic library on HP-UX 11.00 ?
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2005 08:35 PM
тАО02-10-2005 08:35 PM
Re: How to retrieve aCC compiler version from dynamic library on HP-UX 11.00 ?
First of all, thank you for your prompt replies.
Nevertheless, this does not exactly answer to my question:
the library I want to examine is one of our products thus when I use "what" command, the result does not indicate compiler version.
Regarding B3913DB HP product, this includes the compiler which is in fact aC++ C.03.33 installes as /opt/aCC/bin/aCC but using what command on this product, I find this:
/opt/aCC/bin/aCC:
$Revision: 92453-07 linker linker crt0.o B.11.30 020412 $
HP aC++ B3910B A.03.35
HP aC++ B3910B A.03.33 Language Support Library
This means that a patch has been installed afterwards on B3913DB product.
Nevertheless, what I want to know is the version number for the compiler which has been used to compile our source file in order to produce our library. I'd like to know if it is effectively aC++ C.03.35 or another compiler which has been installed somewhere else on our development environment.
Any help would be greatly appreciated.
Best regards.
Didier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2005 06:20 AM
тАО02-11-2005 06:20 AM
Re: How to retrieve aCC compiler version from dynamic library on HP-UX 11.00 ?
into compiled objects; therefore libraries
and executables don't contain it either.
I think you'll have to look at the swinstall
log of the build machine to see if the
patch was installed before or after your
library was built.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2005 11:33 PM
тАО02-11-2005 11:33 PM
Re: How to retrieve aCC compiler version from dynamic library on HP-UX 11.00 ?
You can also try one of these:
strings
strings
strings
strings
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2011 06:13 AM - edited тАО12-27-2011 06:16 AM
тАО12-27-2011 06:13 AM - edited тАО12-27-2011 06:16 AM
Re: How to retrieve aC++ compiler version from shared library on HP-UX 11.00?
The version and compiler options are put into each object file.
You can get a nice summary with footprints(1).
For older systems, SOM: odump -comp object-or-load-module ...
For older systems, ELF: elfdump -dc object-or-load-module ...