gnu-misc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I detect the compiler version used to generate a .a or .so l


From: Alfred M\. Szmidt
Subject: Re: How can I detect the compiler version used to generate a .a or .so library
Date: Tue, 14 Feb 2006 16:48:00 +0100

   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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]