gcc 3.4.2

James E Wilson wilson@specifixinc.com
Thu Mar 31 21:26:00 GMT 2005


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



More information about the Gcc mailing list