Many thanks Alfred

Alfred M. Szmidt wrote:

   How can I detect the compiler version used to generate a .a or .so
   library ?

Depends on so many things, like if the compiler actually adds such
data to the output files.  GCC dumps such data in the .comments
sections of ELF files, so you could use something like `objdump -j
.comment -s FILE' to get that stuff.

Cheers.


_______________________________________________
Gnu-misc-discuss mailing list
Gnu-misc-discuss@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-misc-discuss

Reply via email to