www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/30/06:41:55

Xref: news2.mv.net comp.os.msdos.djgpp:2264
From: stwand07 AT uctvms DOT uct DOT ac DOT za
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Exe size
Date: 29 Mar 96 12:21:12 +0200
Organization: University of Cape Town
Lines: 20
Message-ID: <1996Mar29.122112@uctvms.uct.ac.za>
References: <9603261706 DOT AA08184 AT TINA DOT DEI DOT UNIPD DOT IT> <31595fc0 DOT 4803520 AT wvnvm DOT wvnet DOT edu>
NNTP-Posting-Host: uctvms.uct.ac.za
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <31595fc0 DOT 4803520 AT wvnvm DOT wvnet DOT edu>, u6ed4 AT wvnvm DOT wvnet DOT edu (bonni mierzejewska) writes:
> On Tue, 26 Mar 1996 17:06:23 GMT, gelido AT dei DOT unipd DOT it wrote:
> 
>>There is an EXE-packer that works with  DJ exe ?

I don't think any of the normal DOS .EXE packers (like PKLite or Diet) work,
because DJGPP programs consist of a stub and the program image. The stub is
decompressed fine, but when it tries to load the image, the image is not
uncompressed, and so doesn't work. (At least, this was true in v 1.xx of DJGPP,
and I don't think it has changed...)

It should however be fairly easy for someone who knows a bit about compression
to write a routine into the stub loader, so that it decompresses the image as
it loads it into memory? This would probably expand the stub size a bit, but I
think very simple decompression routines can be used (PKLite is a few KB of
code extra I think)

Any volunteers?
Mark Wodrich.
Email : mwodric AT eleceng DOT uct DOT ac DOT za

- Raw text -


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