delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/03/15:16:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: Printable information in executables
Date: Mon, 03 Nov 2003 12:15:45 -0800
Lines: 19
Message-ID: <bo6d1i$udi$1@sea.gmane.org>
References: <bo4nl5$ao7$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (Compact)
X-Accept-Language: en-us, en
In-Reply-To: <bo4nl5$ao7$1@sea.gmane.org>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019