delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/03/01/17:01:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Tue, 01 Mar 2005 23:58:41 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c51ea9$Blat.v2.4$fa0d2940@zahav.net.il>
X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4
In-reply-to: <1109700755.594553.321860@l41g2000cwc.googlegroups.com>
(ahmadwaris AT hotmail DOT com)
Subject: Re: Program crashes on reaching a certain size
References: <1109628434 DOT 833975 DOT 185760 AT o13g2000cwo DOT googlegroups DOT com>
<01c51deb$Blat.v2.4$24c90100 AT zahav DOT net DOT il> <1109700755 DOT 594553 DOT 321860 AT l41g2000cwc DOT googlegroups DOT com>
Reply-To: djgpp AT delorie 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

> From: "arizvi" <ahmadwaris AT hotmail DOT com>
> Date: 1 Mar 2005 10:12:35 -0800
> 
> I had not stripped the executable. Now, I have compiled using the -s
> option, and my exe size is much reduced. But the program still crashes.

That's expected: the debug info only bloats the .exe file on the disk,
but does not affect in any way how the code is layed out in memory.

> Can it be that slightly different .exe formats expected by DOS and
> WinXP are the cause of the problem?

No, the same .exe file is produced and runs on all supported opertaing
systems.

However, since you mentioned XP, is it possible that your program
crashes because of some known problem with XP related to DJGPP?  Are
you using the latest djdev203.zip?  And what is the exact code
fragment where it crashes?

- Raw text -


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