Date: Fri, 16 Aug 1996 13:45:04 +0200 (MET DST) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: Malcolm Taylor cc: djgpp AT delorie DOT com Subject: Re: DJGPP's .exe's are TOO large In-Reply-To: <4v08s6$ob9@news.manawatu.gen.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 15 Aug 1996, Malcolm Taylor wrote: >>But really, the size problem isn't too bad. There's a bare minimum >>of around 50k for the extender code, > >The overhead code is only around 20K if I remember right if you >remember to define a few empty functions (see the FAQ section >referenced earlier in this thread). I think Elliot was talking about the stuff that stays in memory when server is run. >Also never go past DJP. This has extremely good compression ratios for >an exe packer, and can get your exe quite small. > >>but the PMODE 2.5 assembly >>extender by Tran (Thomas Pytel), the best freeware assembly extender >>around, also adds 30k extra to the .exe file. So much for the >>compactness of assembler. > >Actually PMODE adds 15K to your exe file. I have actually myself Again, memory. >>I think a lot of dead weight after that comes from certain standard >>C functions like printf(), and the error-handling associated >>with them. Trial and error should show which ones are the worst. > >As a testamony I have written a fully functional archiver that is only >50K long. This is shorter than most of the others I have seen, and >they don't even use protected-mode! Is it available anywhere? Mark /************************************************************/ /** Maybe it was infatuation or the thrill of a chase? **/ /** Maybe you were always beyond my reach and my heart **/ /** was playing safe? ***********/ /** But was that love in your eyes I saw, **/ /** or the reflection of mine? **/ /** I'll never really know for sure, **/ /** You never really gave me time! **/ /** Won't you give me that time? **/ /** "Cindirella Search" **/ /********************************/ Visit my homepage: http://ananke.amu.edu.pl/~grendel