Mail Archives: djgpp/2000/10/10/17:30:14
> >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 -