X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "arizvi" Newsgroups: comp.os.msdos.djgpp Subject: Re: Program crashes on reaching a certain size Date: 1 Mar 2005 10:12:35 -0800 Organization: http://groups.google.com Lines: 21 Message-ID: <1109700755.594553.321860@l41g2000cwc.googlegroups.com> References: <1109628434 DOT 833975 DOT 185760 AT o13g2000cwo DOT googlegroups DOT com> <01c51deb$Blat.v2.4$24c90100 AT zahav DOT net DOT il> NNTP-Posting-Host: 66.32.25.19 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1109700759 1550 127.0.0.1 (1 Mar 2005 18:12:39 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 1 Mar 2005 18:12:39 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: l41g2000cwc.googlegroups.com; posting-host=66.32.25.19; posting-account=Se-Idg0AAAC00LEpjdiQS7ZeyWGDYpCA To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi Eli, Thanks for the reply. >Did you strip the executable, or does it still include debug info? 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. The only thing I can think of is that I am compiling my program on XP, and then later running it on a DOS environment. I did this only out of convenience - my XP had everything to compile and link TV. I guess I will have to install TV on a pure DOS machine. Can it be that slightly different .exe formats expected by DOS and WinXP are the cause of the problem? Thanks, Ahmad