gzip on PDP-11: not so simple
Greg Lehey
grog at lemis.com
Wed Mar 25 15:47:54 AEST 1998
OK, I've found the problems with gzip, and they're not encouraging.
It would appear that the undefined references are undefined because
they refer to data which is too large. Here's the preprocessor
output:
uch inbuf[ 0x8000 + 64 ];
uch outbuf[ 16384 +2048 ];
ush d_buf[ 0x8000 ];
uch window[ 2*0x8000 ];
# 194 "gzip.c"
ush prev[ 1<<(16-1)];
ush tab_prefix1[ 1<<(16-1)];
uch and ush are uchar and ushort respectively. Obviously there's no
way of fitting this into a 64 kB address space. Possibly there's a
way of shortening the buffers, but it would take more time than I have
right now. Sorry for raising your hopes.
There are other zip-compatible programs out there, such as unzip.
Maybe somebody should look into them.
Greg
Received: (from major at localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id RAA20686
for pups-liszt; Wed, 25 Mar 1998 17:00:29 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to owner-pups at minnie.cs.adfa.oz.au using -f
More information about the TUHS
mailing list