This is the mail archive of the
mailing list for the Cygwin project.
Re: Printable information in executables
- From: Shankar Unni <shankar at cotagesoft dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 03 Nov 2003 12:15:45 -0800
- Subject: Re: Printable information in executables
- References: <email@example.com>
Alex Vinokur wrote:
> However those files contain neither compiler name nor compiler version.
> It seems to be worth including something like "gcc version 3.3.1 (cygming special)" in executables.
There's no standard place in the PE header (in the object files) for
this sort of information.
Besides, the compiler information would have to be per-".o", not
per-".exe", since you can generally mix and match .o's from different
compilers (provided they generate code with the same calling conventions
and structure layouts) when linking a .exe.
Even if there were a convention for inserting this kind of information
(say, a special .info or .compiler section in the .o file), the
executable would end up with hundreds of these strings for any
moderately-sized program, and the information would be, at best,
confusing and only mildly interesting..
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html