Mail Archives: djgpp/2009/06/19/18:00:34
Hi,
On May 30, 7:36=A0pm, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
>
> Cool beans! Now I just built it on my other XP machine "--with-system-
> malloc" (although maybe I should've rebooted with a liveCD and tried
> DOSEMU ... bah, next time maybe) with GCC 4.4.0, BinUtils 2.19, DJGPP
> 2.04 beta, and I used -Os -mtune=3Di686. It's got everything (except *.o
> and redundant .EXEs): =A0binaries, sources, docs, changelogs (16
> MB!), .tex / .pdf, "etc", etc. =A0;-) =A0 =A0 In other words, 32 MB packe=
d
> with "7za a -mx5" (medium compression) resulting in 170 MB unpacked
> (or more on FAT w/ big clusters, ugh).
>
> P.S. For laughs, I locally tried stripping all the junk out
> (extra .elc, docs, changelogs, parts of etc, sources) and UPXing
> the .EXEs. Even then, the smallest I get with "7za a -mx5" is 14 MB.
> Now looking at it, I see even more fluff that isn't needed (.png,
> NEWS.*, gnus ... which only you probably understand how to get
> working, a bunch of README files, ...). In other words, 60 MB
> installed, and even then, I'm not entirely sure I didn't strip
> something that looked unimportant but might be (rarely) needed. So, in
> theory, if I (or somebody) was going to strip / split up everything
> into separate packages, it'd need testing to make sure it didn't break
> anything. Also need to test if building on LFN (or SFN) affects the
> other. And I still say Gzip sources and/or binary could be included,
> it's very small compared to what it saves (auto-compression-mode), and
> that's only if it needs "gzip -9" to repack after unpacking (I forget,
> does it??). It should probably be made to only unpack a temporary copy
> (or to temporary dir). Otherwise, just use minigzip found in official
> zlib-1.2.3/contrib/ since it's equally easy to build and works. (I
> guess the Allegro Common Lisp inflate.cl is beyond anybody these days.
> Oh well, I still like that idea too, but it does need converting to
> eLisp *and* a .gz wrapper handler.)
It seems that pretty much every *nix distro out there includes Zlib
these days. And Zlib includes "gzopen, gzread, gzclose", so it should
be ridiculously easy to use that to read Gzip-compressed files from
within Emacs without needing an external Gzip binary. I'm surprised no
one has already done this.
- Raw text -