This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4.2
- From: James E Wilson <wilson at specifixinc dot com>
- To: Levent Erbuke <Levent dot Erbuke at acqiris dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 31 Mar 2005 11:49:19 -0800
- Subject: Re: gcc 3.4.2
- References: <42491C1F.6010700@acqiris.com>
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