Menu

Tree [381fe0] /
 History

HTTPS access


File Date Author Commit
 .cvsignore 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [f7d023] add ignore items.
 readme.txt 2003-01-15 Dmitriy Anisimkov Dmitriy Anisimkov [381fe0] fix english.
 test.adb 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.
 zlib-streams.adb 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.
 zlib-streams.ads 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.
 zlib-thin.adb 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.
 zlib-thin.ads 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.
 zlib.adb 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.
 zlib.ads 2003-01-14 Dmitriy Anisimkov Dmitriy Anisimkov [574be5] remove DOS style CR from end of line.

Read Me

                            ZLib for Ada thick binding (ZLib.Ada).
                            Release 1.0

Author: Dmitriy Anisimkov.

ZLib.Ada is a thick binding to the popular compression/decompression
library ZLib http://www.gzip.org/zlib/. ZLib.Ada provide Ada style access
to the ZLib C library.

	How to build under GNAT compiler.

You should have ZLib library already build on your computer, before build ZLib.Ada.
Make the directory of ZLib.Ada sources current and issue the command.

$gnatmake test -largs -L<directory where libz.a is> -lz

	How to build under Aonix ObjectAda for Win32 7.2.2 compiler.

1. Make a project with all *.ads and *.adb files from the distribution;
2. Rename library libz.a from the ZLib distribution to the z.lib;
3. Add the library z.lib to the project;
4. Add library libc.lib from the ObjectAda distribution to the project;
5. Build executable file using test.adb as a main procedure;

	How to use.

Main functionality usage example is in the test.adb file. Routines in the package
specifications has a comments.

Dmitriy Anisimkov <anisimkov@yahoo.com>
MongoDB Logo MongoDB