www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <3705DC0F.24085A03@hem2.passagen.se> |
Date: | Sat, 03 Apr 1999 11:14:55 +0200 |
From: | Anders Norlander <anorland AT hem2 DOT passagen DOT se> |
X-Mailer: | Mozilla 4.01 [en] (Win95; I) |
MIME-Version: | 1.0 |
To: | Charlie Tran <coptran AT hotmail DOT com> |
CC: | cygwin AT sourceware DOT cygnus DOT com, gntran AT unm DOT edu |
Subject: | Re: Compiling with "-O2 -s" and crashing. |
X-Priority: | 3 (Normal) |
References: | <19990403010008 DOT 84217 DOT qmail AT hotmail DOT com> |
Charlie Tran wrote: > > I try to compile a C++ program using the flag: > "-O2 -s" to make the executable file smaller, but the file will > crash if I run it (while a normal compiled executable file works > OK). > > Any idea for the use of "-O2 -s"? > Thanks for reading this. Try using only -O2 and see if it works. If it does you can try stripping the executable afterwards. Are you by any chance using w95 or w98? Regards, Anders -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |