VirtualBox

source: vbox/trunk/src/libs/zlib-1.2.1/contrib/ada/readme.txt@ 16236

Last change on this file since 16236 was 6392, checked in by vboxsync, 17 years ago

export libpng and zlib so Windows and OS/2 builds cleanly.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1
2 ZLib for Ada thick binding (ZLib.Ada)
3 Release 1.2
4
5ZLib.Ada is a thick binding interface to the popular ZLib data
6compression library, available at http://www.gzip.org/zlib/.
7It provides Ada-style access to the ZLib C library.
8
9
10 Here are the main changes since ZLib.Ada 1.1:
11
12- The default header type has a name "Default" now. Auto is used only for
13 automatic GZip/ZLib header detection.
14
15- Added test for multitasking mtest.adb.
16
17- Added GNAT project file zlib.gpr.
18
19
20 How to build ZLib.Ada under GNAT
21
22You should have the ZLib library already build on your computer, before
23building ZLib.Ada. Make the directory of ZLib.Ada sources current and
24issue the command:
25
26 gnatmake test -largs -L<directory where libz.a is> -lz
27
28Or use the GNAT project file build for GNAT 3.15 or later:
29
30 gnatmake -Pzlib.gpr -L<directory where libz.a is>
31
32
33 How to build ZLib.Ada under Aonix ObjectAda for Win32 7.2.2
34
351. Make a project with all *.ads and *.adb files from the distribution.
362. Build the libz.a library from the ZLib C sources.
373. Rename libz.a to z.lib.
384. Add the library z.lib to the project.
395. Add the libc.lib library from the ObjectAda distribution to the project.
406. Build the executable using test.adb as a main procedure.
41
42
43 How to use ZLib.Ada
44
45The source files test.adb and read.adb are small demo programs that show
46the main functionality of ZLib.Ada.
47
48The routines from the package specifications are commented.
49
50
51Homepage: http://zlib-ada.sourceforge.net/
52Author: Dmitriy Anisimkov <[email protected]>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette