www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/10/17:30:14

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Memory amount and PMODE
Date: Tue, 10 Oct 2000 15:47: 5
Organization: Aspen Technology, Inc.
Lines: 29
Message-ID: <39e339f9.sandmann@clio.rice.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001010080735 DOT 6606G-100000 AT is> <leb6usok9h8eifqm21qe411194n8vq6ugg AT 4ax DOT com> <39e2e9b2 DOT sandmann AT clio DOT rice DOT edu> <39e2edb0 DOT sandmann AT clio DOT rice DOT edu> <php6usoflo5glnvpneechg23e3lro2upku AT 4ax DOT com>
NNTP-Posting-Host: dcloan.hou.aspentech.com
X-Trace: selma.aspentech.com 971212200 14076 10.32.115.107 (10 Oct 2000 21:10:00 GMT)
X-Complaints-To: postmaster AT aspentech DOT com
NNTP-Posting-Date: 10 Oct 2000 21:10:00 GMT
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> >stub copyright is very lenient - it say use for any purpose as long
> >as the copyright is intact.  CWSDPMI built into that stub has the 
> >same terms as the other binaries.  Note: this does prevent compressing
> >the stub and/or CWSDPMI since copyrights are removed/obscured.
> 
> OUCH!  UPX dies.

No, you can UPX images, you just can't UPX the stub itself.  For
example, the embedded CWSDPMI stub is 21Kb normally and around 13Kb
compressed with UPX (which you then have to modify yet again to 
get appropriate alignment) - but then even UPX doesn't recognize
it as a stubed image (since it doesn't see the stubinfo header
signature).  I only brought this up because someone really, really
wanted to save an extra 8Kbytes in their distribution by sending
a UPXed version of CWSDPMI.  The answer was no (and will be no for
the stub also) since it breaks stubedit'ing, breaks cwsparam'ing,
and breaks the copyright view just for saving 8Kbytes of disk 
space.

> Now I can't distribute my own Allegro programs over Freeservers.com
> because it has a file size limit of 512 KB, that is, unless a way is
> found to build an already compressed CWSDPMI stub with copyright
> notices intact. Support for CWSDPMI embedded stubs will probably need
> to be added to UPX anyway; it'd be nice if you worked with MFXJO on
> this.

I don't believe what I refer to above will cause you any problem.
The CWSDPMI embedded stub is related to the PMODE stub, and you can
use it with UPXed images.  

- Raw text -


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