delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/29/00:06:16

From: jmorriso AT bogomips DOT com (John Paul Morrison)
Subject: gcc -s
29 Mar 1997 00:06:16 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <m0wAnXL-000TzNC.cygnus.gnu-win32@bogomips.com>
Original-To: gnu-win32 AT cygnus DOT com
X-Bogomips: 33.55
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I noticed 

i586-cygwin32-gcc -s -o foo.exe foo.c 

produces a corrupt executable that windows NT won't run. 

i586-cygwin32-gcc -o foo.exe foo.c
i586-cygwin32-strip  foo.exe 

produces a working binary.

This is with cygwin32 b17.1 cross compiled on Irix 5.3

---------------------------------------------------------------------------
BogoMIPS Research Labs  --  bogosity research & simulation  --  VE7JPM  -- 
  jmorriso AT bogomips DOT com  ve7jpm AT ve7jpm DOT ampr DOT org  jmorriso AT ve7ubc DOT ampr DOT org
---------------------------------------------------------------------------

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019