PageRenderTime 92ms CodeModel.GetById 90ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/StormLib/stormlib/zlib/contrib/ada/readme.txt

http://ghostcb.googlecode.com/
Plain Text | 65 lines | 39 code | 26 blank | 0 comment | 0 complexity | c998583cdc1fe9d7f8f6b92d1a9551a3 MD5 | raw file
 1                        ZLib for Ada thick binding (ZLib.Ada)
 2                        Release 1.3
 3
 4ZLib.Ada is a thick binding interface to the popular ZLib data
 5compression library, available at http://www.gzip.org/zlib/.
 6It provides Ada-style access to the ZLib C library.
 7
 8
 9        Here are the main changes since ZLib.Ada 1.2:
10
11- Attension: ZLib.Read generic routine have a initialization requirement
12  for Read_Last parameter now. It is a bit incompartible with previous version,
13  but extends functionality, we could use new parameters Allow_Read_Some and
14  Flush now.
15
16- Added Is_Open routines to ZLib and ZLib.Streams packages.
17
18- Add pragma Assert to check Stream_Element is 8 bit.
19
20- Fix extraction to buffer with exact known decompressed size. Error reported by
21  Steve Sangwine.
22
23- Fix definition of ULong (changed to unsigned_long), fix regression on 64 bits
24  computers. Patch provided by Pascal Obry.
25
26- Add Status_Error exception definition.
27
28- Add pragma Assertion that Ada.Streams.Stream_Element size is 8 bit.
29
30
31        How to build ZLib.Ada under GNAT
32
33You should have the ZLib library already build on your computer, before
34building ZLib.Ada. Make the directory of ZLib.Ada sources current and
35issue the command:
36
37  gnatmake test -largs -L<directory where libz.a is> -lz
38
39Or use the GNAT project file build for GNAT 3.15 or later:
40
41  gnatmake -Pzlib.gpr -L<directory where libz.a is>
42
43
44        How to build ZLib.Ada under Aonix ObjectAda for Win32 7.2.2
45
461. Make a project with all *.ads and *.adb files from the distribution.
472. Build the libz.a library from the ZLib C sources.
483. Rename libz.a to z.lib.
494. Add the library z.lib to the project.
505. Add the libc.lib library from the ObjectAda distribution to the project.
516. Build the executable using test.adb as a main procedure.
52
53
54        How to use ZLib.Ada
55
56The source files test.adb and read.adb are small demo programs that show
57the main functionality of ZLib.Ada.
58
59The routines from the package specifications are commented.
60
61
62Homepage: http://zlib-ada.sourceforge.net/
63Author: Dmitriy Anisimkov <anisimkov@yahoo.com>
64
65Contributors: Pascal Obry <pascal@obry.org>, Steve Sangwine <sjs@essex.ac.uk>