home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / documentation / ziplib_2 / ReadMe < prev    next >
Text File  |  1996-07-31  |  5KB  |  101 lines

  1. zlib 1.0.2 is a general purpose data compression library.  All the code
  2. is reentrant (thread safe).  The data format used by the zlib library
  3. is described by RFCs (Request for Comments) 1950 to 1952 in the files 
  4. ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate
  5. format) and rfc1952.txt (gzip format). These documents are also available in
  6. other formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
  7.  
  8. All functions of the compression library are documented in the file
  9. zlib.h. A usage example of the library is given in the file example.c
  10. which also tests that the library is working correctly. Another
  11. example is given in the file minigzip.c. The compression library itself
  12. is composed of all source files except example.c and minigzip.c.
  13.  
  14. To compile all files and run the test program, follow the instructions
  15. given at the top of Makefile. In short "make test; make install"
  16. should work for most machines.  For MSDOS, use one of the special
  17. makefiles such as Makefile.msc; for VMS, use Make_vms.com or descrip.mms.
  18.  
  19. Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov> or,
  20. if this fails, to the addresses given below in the Copyright section.
  21.  
  22. The changes made in version 1.0.2 are documented in the file ChangeLog.
  23. The main changes since 0.99 are:
  24.  
  25. - fix array overlay in deflate.c which sometimes caused bad compressed data
  26. - fix inflate bug with empty stored block
  27. - fix MSDOS medium model which was broken in 0.99
  28. - fix deflateParams() which could generated bad compressed data.
  29. - added an INDEX file
  30. - new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
  31.   Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
  32. - several portability improvements
  33. - added algorithm.doc
  34. - added Windows DLL support
  35. - added a function zlibVersion (for the DLL support)
  36.  
  37. A Perl interface to zlib written by Paul Marquess <pmarquess@bfsec.bt.co.uk>
  38. is in the CPAN (Comprehensive Perl Archive Network) sites, such as:
  39. ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib*
  40.  
  41.  
  42. Notes for some targets:
  43.  
  44. - For Turbo C the small model is supported only with reduced performance to
  45.   avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3
  46.  
  47. - For 64-bit Iris, deflate.c must be compiled without any optimization.
  48.   With -O, one libpng test fails. The test works in 32 bit mode (with
  49.   the -32 compiler flag).
  50.  
  51. - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1   
  52.   it works when compiled with cc.
  53.  
  54. - zlib doesn't work on HP-UX 9.05 with one cc compiler (the one not
  55.   accepting the -O option). It works with the other cc compiler.
  56.  
  57. - To build a Windows DLL version, include in a DLL project zlib.def, zlib.rc
  58.   and all .c files except example.c and minigzip.c; compile with -DZLIB_DLL
  59.   For help on building a zlib DLL, contact Alessandro Iacopetti
  60.   <iaco@cicladi.unial.it>
  61.  
  62.  
  63. Acknowledgments:
  64.  
  65.   The deflate format used by zlib was defined by Phil Katz. The deflate
  66.   and zlib specifications were written by Peter Deutsch. Thanks to all the
  67.   people who reported problems and suggested various improvements in zlib;
  68.   they are too numerous to cite here.
  69.  
  70. Copyright notice:
  71.  
  72.  (C) 1995-1996 Jean-loup Gailly and Mark Adler
  73.  
  74.   This software is provided 'as-is', without any express or implied
  75.   warranty.  In no event will the authors be held liable for any damages
  76.   arising from the use of this software.
  77.  
  78.   Permission is granted to anyone to use this software for any purpose,
  79.   including commercial applications, and to alter it and redistribute it
  80.   freely, subject to the following restrictions:
  81.  
  82.   1. The origin of this software must not be misrepresented; you must not
  83.      claim that you wrote the original software. If you use this software
  84.      in a product, an acknowledgment in the product documentation would be
  85.      appreciated but is not required.
  86.   2. Altered source versions must be plainly marked as such, and must not be
  87.      misrepresented as being the original software.
  88.   3. This notice may not be removed or altered from any source distribution.
  89.  
  90.   Jean-loup Gailly        Mark Adler
  91.   gzip@prep.ai.mit.edu    madler@alumni.caltech.edu
  92.  
  93. If you use the zlib library in a product, we would appreciate *not*
  94. receiving lengthy legal documents to sign. The sources are provided
  95. for free but without warranty of any kind.  The library has been
  96. entirely written by Jean-loup Gailly and Mark Adler; it does not
  97. include third-party code.
  98.  
  99. If you redistribute modified sources, we would appreciate that you include
  100. in the file ChangeLog history information documenting your changes.
  101.