www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/19/13:11:11

From: <@elp.rr.com>
Newsgroups: comp.os.msdos.djgpp
References: <19990517192930 DOT 17703 DOT 00001862 AT ng-ba1 DOT aol DOT com> <87ogji4ll3 DOT fsf AT hasn DOT dera DOT gov DOT uk>
Subject: Re: Exe size!!!
Lines: 31
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <W1o03.1042$Uh4.279@newsr1.elp.rr.com>
Date: Tue, 18 May 1999 19:31:06 -0600
NNTP-Posting-Host: 24.92.106.62
X-Complaints-To: abuse AT rr DOT com
X-Trace: newsr1.elp.rr.com 927075574 24.92.106.62 (Tue, 18 May 1999 18:59:34 MDT)
NNTP-Posting-Date: Tue, 18 May 1999 18:59:34 MDT
Organization: Time Warner Communications, El Paso TX
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

It actually might not be the code, i tried it myself. Without using -O2 the
program works fine but with it
    the graphics do get screwed up.  gcc may just optimizing what it thinks
is right, but isn't. If it don't work. don't do it

Ian Miller wrote in message <87ogji4ll3 DOT fsf AT hasn DOT dera DOT gov DOT uk>...
>rakz007 AT aol DOT com (Rakz007) writes:
>
>> I am currently programming my first game in c using DJGPP and RHIDE.
>> The problem is my exe size for the game is now 790k...
>> BUT when i run the game it has trouble
>> loading in some of the bitmaps! And then crashes as well sometimes.
>
>Your problem is that "the game has trouble loading in some of the
>bitmaps! And then crashes as well sometimes" *not* the executable size.
>DJGPP excutables have a *tiny* DOS executable at the start (the "stub")
>followed by the compiled program which runs in protected mode and may
>be as big as you like. What you need to do is look for mistakes in
>your program source code.
>
>Don't think about executable sizes. Put them from your mind. They are
>not relevant. They don't matter. Ignore them. Consider them not.
>
>And good luck with your game.
>Ian
>--
>Ian Miller, Dorset, UK
>The views expressed above are those of the writer and do not represent the
>views, policy, or understanding of any other person or official body.


- Raw text -


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