[Zlib-devel] New gzio called gzlib

Greg Roelofs newt at pobox.com
Sun Jan 2 12:25:29 EST 2005


> Yes, though gzlib would still be distributed with zlib.  There would be 
> separate zlib.h and gzlib.h interface headers.  I'm not sure yet if 
> zlib.h should automatically include gzlib.h, or whether the default 
> build should combine the libraries.

Architecturally, the lowest common denominator (zlib) including a
header for a super-dependency (gzlib.h) is gross.  I'd suggest that
the reverse be the case, but that the only other change to zlib.h
be the addition of an obvious macro so that source code can be
trivially fixed to work with either newer or older versions (e.g.,
#define GZLIB_REMOVED or some such).

A combined build would be convenient but not really necessary; a
build that creates both static and shared libraries in one go would
be even nicer. :-)

Greg




More information about the Zlib-devel mailing list