about zlib on FreeBSD

Dag-Erling Smørgrav des at des.no
Wed Dec 2 12:50:00 UTC 2009

Jiandong Lu <lujiandong1001 at yahoo.com.cn> writes:
> zlib package of ms windows could handle .zip archives, it compiles
> minizip into the zip library.

Firstly, zlib is one thing and one thing only, namely the reference
implementation of Jean-Loup Gailly's gzip (aka. deflate) compression
algorithm.  See zlib.net.

Secondly, Microsoft don't maintain official packages of third-party
software, so there is no such thing as "zlib package of ms windows".
Various projects (Cygwin, MSYS, MinGW, GNUWin32) ship pre-compiled zlib
binaries for Windows, but none of the four I mentioned include zip
support in their version of zlib.

> Should we merge minizip into libz ? 

No.  Why should we?

If you want to create or unpack .zip files on FreeBSD, use tar(1).

Dag-Erling Smørgrav - des at des.no

More information about the freebsd-hackers mailing list