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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to