From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22558 invoked by alias); 3 Nov 2003 20:15:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22551 invoked from network); 3 Nov 2003 20:15:47 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 3 Nov 2003 20:15:47 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGl75-0003oy-00 for ; Mon, 03 Nov 2003 21:15:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGl74-0003oq-00 for ; Mon, 03 Nov 2003 21:15:46 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGl74-00086V-00 for ; Mon, 03 Nov 2003 21:15:46 +0100 From: Shankar Unni Subject: Re: Printable information in executables Date: Mon, 03 Nov 2003 20:15:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.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: X-SW-Source: 2003-11/txt/msg00107.txt.bz2 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/