delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/17/01:46:53

From: qballlives AT aol DOT com (QBallLives)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Myballs three times bigger when I compile?
Date: 17 Feb 1998 06:44:08 GMT
Lines: 35
Message-ID: <19980217064401.BAA03868@ladder03.news.aol.com>
NNTP-Posting-Host: ladder03.news.aol.com
Organization: AOL http://www.aol.com
References: <6buc3u$rra$1 AT news DOT skylink DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>
>Igor Blanco wrote
>>I obtained the game and the source code of the game MyBalls have drop.
>>The binary I got took less than 300,000bytes but when I recompile it
>>takes over 600,000bytes and it works the same? Any idea? Maybe is
>>because of the difference in djgpp versions? How should I compile so
>>it does not grow so much?
>
>
>   I'm just guessing but you could run STRIP on it, to removed anything that
>was linked but not called.  Also, there is an executable compressor (like
>PKLite, PowerPacker, etc) that compresses your file, and then decompresses
>in RAM when you run it.  You can get the compressor (mlp105b.zip) from:
>
>http://www.rt66.com/~brennan/djgpp/
>
>X
>
>

when you compile DJGPP apps.... the default is to put debugging information in
the exe... (the same as the -g switch using gcc from the command line)

I don't know what you're making that with... but if you're using gcc, try
throwing in the -s switch...

  - of course, if you have problems with something after you use the -s switch
-> going back to the -g switch might get you more help toward a solution...



Jim the loiterer
aloiterer AT juno DOT com
http://www.fortunecity.com/skyscraper/gigahertz/index.html

- Raw text -


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