Remove zlib from the llvm tarball. This is only used (in theory by povray-31
[oota-llvm.git] / runtime / zlib / contrib / vstudio / readme.txt
1 Building instructions for the DLL versions of Zlib 1.21
2 =======================================================
3
4 This directory contains projects that build zlib and minizip using
5 Microsoft Visual C++ 7.0/7.1.
6
7 You don't need to build these projects yourself. You can download the
8 binaries from:
9   http://www.winimage.com/zLibDll
10
11 More information can be found at this site.
12
13
14 Build instructions
15 ------------------
16 - Unzip zlib*.zip and copy the files from contrib\vstudio\vc7,
17   from contrib\vstudio\masmx86 and from contrib\minizip into the same
18   directory.
19 - Download the crtdll library from
20     http://www.winimage.com/zLibDll/crtdll.zip
21   Unzip crtdll.zip to extract crtdll.lib.
22 - If you are using x86, use the Release target.
23 - Open zlibvc.sln with Microsoft Visual C++ 7.0 or 7.1
24   (Visual Studio .Net 2002 or 2003).
25
26
27 Important
28 ---------
29 - To use zlibwapi.dll in your application, you must define the
30   macro ZLIB_WINAPI when compiling your application's source files.
31
32
33 Additional notes
34 ----------------
35 - This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built
36   by Gilles Vollant from the zlib 1.1.x sources, and distributed at
37     http://www.winimage.com/zLibDll
38   It uses the WINAPI calling convention for the exported functions, and
39   includes the minizip functionality. If your application needs that
40   particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.
41
42 - The new DLL was renamed because there exist several incompatible
43   versions of zlib.dll on the Internet.
44
45 - There is also an official DLL build of zlib, named zlib1.dll. This one
46   is exporting the functions using the CDECL convention. See the file
47   win32\DLL_FAQ.txt found in this zlib distribution.
48
49 - There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol
50   has a slightly different effect. To avoid compatibility problems, do
51   not define it here.
52
53
54 Gilles Vollant
55 info@winimage.com