recognizing gcc compiled objects

Jakub Jelinek jakub@redhat.com
Tue Oct 24 14:02:00 GMT 2000


On Tue, Oct 24, 2000 at 11:06:33AM -0700, Neelakanth wrote:
> 
> Hi,
> is there a fail-proof way of recognizing that an object is compiled
> by gcc?

No, but it is very common gcc compiled ELF objects contain the .comment
section with gcc version in it (gcc often emits .ident with gcc version into
assembly) and strip without special options keeps it in.

	Jakub


More information about the Gcc mailing list