02-09-2005 08:16 PM
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.
02-10-2005 08:35 PM
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:
$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.
02-11-2005 06:20 AM
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.
02-11-2005 11:33 PM
You can also try one of these:
12-27-2011 06:13 AM - edited 12-27-2011 06:16 AM
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 ...