This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.4.2


Levent Erbuke wrote:
Is there a tool that retrieve which version of gcc was used to compile a lib or anything else ?

It depends on the target, but use of strings in the .comment section is fairly common. Try
objdump --section=.comment --full-contents
There will be one string for every object file if the version strings are present.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]