Question about past research in detecting compiler used to create executable binary

Andrew Pinski pinskia@gmail.com
Thu Jan 24 11:55:00 GMT 2008


On 1/23/08, Tim Josling <tejgcc@westnet.com.au> wrote:
> Also in the same file
>
> GCC: (GNU) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

You can strip out the comment section so this information does not
have to emitted either.  And sometimes it can contain multiple
versions depending on if you have a static library which is compiled
with a different compiler version.

So I would not dependent on this information at all.

Thanks,
Andrew Pinski



More information about the Gcc mailing list