delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/10/09:12:35

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
Message-ID: <8D861ADC5B8FD211B4100008C71EA7DA04F7140D@kjsdemucshrexc1.eu.pm.com>
From: "Demmer, Thomas" <TDemmer AT krafteurope DOT com>
To: "'Cygwin AT cygwin DOT com'" <Cygwin AT cygwin DOT com>
Subject: Re: Different executables of the same source
Date: Tue, 10 Feb 2004 14:43:22 +0100
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i1AECX65005419

"Alex Vinokur" wrote:
[...]
>$ gcc foo.c -o x1.exe
>
>$ gcc foo.c -o x2.exe
>
>$ cmp x1.exe x2.exe
>x1.exe x2.exe differ: char 137, line 2
>
>Why are x1.exe and x2.exe different?

Because the PE header has a field that contains
the creation time. Due to this "feature" the MD5-sums
of executables compiled on two different machines will hardly ever
concide. I have no clue why this feature exists.

Ciao
Tom


Best regards / Mit freundlichen Grüssen,


Thomas Demmer
Kraft Foods R&D Inc.
Chocolate WW Process Development

Tel.: +49 (0)89 62738-6302
Fax: +49 (0)89 62738-86302


Thought of the day
By doing just a little every day, you can gradually let the task
completely overwhelm you.


--
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