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]

Re: recognizing gcc compiled objects


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

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