This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Different executables of the same source


$ 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@connect.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]