delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/10/08:14:29

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
To: cygwin AT cygwin DOT com
From: "Alex Vinokur" <alexvn AT connect DOT to>
Subject: Different executables of the same source
Date: Tue, 10 Feb 2004 15:13:33 +0200
Lines: 38
Message-ID: <c0alec$j8h$1@sea.gmane.org>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: pop03-2-ras5-p113.barak.net.il
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106

$ uname -sr
CYGWIN_NT-5.0 1.5.5(0.94/3/2)

$ gcc --version
gcc (GCC) 3.3.1 (cygming special)
[snip]

$ cmp -v
cmp (GNU diffutils) 2.8.4
[snip]


--- C program (foo.c) ---
int main()
{
  return 0;
}
-------------------------

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


--
   Alex Vinokur
     mailto:alexvn AT connect DOT to
     http://mathforum.org/library/view/10978.html







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