gzip on PDP-11: not so simple
Peter Chubb
peterc at softway.com.au
Wed Mar 25 17:43:00 AEST 1998
>>>>> "Greg" == Greg Lehey <grog at lemis.com> writes:
Greg> OK, I've found the problems with gzip, and they're not
Greg> encouraging. It would appear that the undefined references are
Greg> undefined because they refer to data which is too large. Here's
Greg> the preprocessor output:
Greg> uch inbuf[ 0x8000 + 64 ]; uch outbuf[ 16384 +2048 ]; ush
Greg> d_buf[ 0x8000 ]; uch window[ 2*0x8000 ]; # 194 "gzip.c"
You need to decrease the window size -- try setting it to 8k (instead
of 32k)
There should be a
#define WSIZE 0x8000
somewhere.
It may be worth playing with a decompress only version -- compression
will take more space than decompression (you need two windows rather
than one, for a start). inbuf can be smaller, too. Try 512 bytes to
match the disc record size.
Peter C
Received: (from major at localhost)
by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id SAA20848
for pups-liszt; Wed, 25 Mar 1998 18:11:48 +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