On Fri, Jun 5, 2009 at 10:41 PM, Sridhar Ayengar <ploopster at gmail.com> wrote:
Ethan Dicks wrote:
Checking on a handy 64-bit Linux system, the gzip
binary is under 64K
total size, so that might not go so poorly. ?OTOH, wget is nearly
256K. ?That will be "fun" to adapt. ?I recommend paring back unneeded
features and learning how overlays work.
But are those executables dynamically linked? ?If so, wouldn't the static
executables be way larger?
Ah, yes... right you are. Well... those aren't stripped binaries, so
there's some symbol cruft to clean out. But then in the case of gzip,
there's the issue of the size of any compression matrices vs the size
of the data segment.
Any way you slice it, it's likely to be a challenge to port modern
tools like gzip and wget to the PDP-11, but with some effort, it might
still be possible to squeeze them in. Oh... then there's the whole
ANSI-C vs K&R thing...
This is giving me flashbacks to when this stuff didn't always work
like the READMEs said it should.
-ethan