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]
Other format: [Raw text]

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


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


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