X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 22 Jul 2004 17:35:04 -0400 Message-Id: <200407222135.i6MLZ4Tj024386@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <20040722210443.17800.qmail@web50704.mail.yahoo.com> (message from Lets Go Canes on Thu, 22 Jul 2004 14:04:43 -0700 (PDT)) Subject: Re: strange error References: <20040722210443 DOT 17800 DOT qmail AT web50704 DOT mail DOT yahoo DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > When you use "-g", you are including additional information in the > binary, and this changes where bits-and-pieces of your program and > your data are located in memory. It shouldn't. Adding -g shouldn't change ANYTHING about how your program runs. Changes in -O options might, but -g shouldn't. All -g does is add debug information sections to the .exe, but they're not part of the text/data sections.