This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Different executables of the same source
- From: "Demmer, Thomas" <TDemmer at krafteurope dot com>
- To: "'Cygwin at cygwin dot com'" <Cygwin at cygwin dot com>
- Date: Tue, 10 Feb 2004 14:43:22 +0100
- Subject: Re: Different executables of the same source
"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/