Adjust local symbol value in relocatable link to be relative to section.
[deliverable/binutils-gdb.git] / zlib / contrib / vstudio / readme.txt
CommitLineData
5ca28f79
L
1Building instructions for the DLL versions of Zlib 1.2.7\r
2========================================================\r
3\r
4This directory contains projects that build zlib and minizip using\r
5Microsoft Visual C++ 9.0/10.0.\r
6\r
7You don't need to build these projects yourself. You can download the\r
8binaries from:\r
9 http://www.winimage.com/zLibDll\r
10\r
11More information can be found at this site.\r
12\r
13\r
14\r
15\r
16\r
17Build instructions for Visual Studio 2008 (32 bits or 64 bits)\r
18--------------------------------------------------------------\r
19- Uncompress current zlib, including all contrib/* files\r
20- Compile assembly code (with Visual Studio Command Prompt) by running:\r
21 bld_ml64.bat (in contrib\masmx64)\r
22 bld_ml32.bat (in contrib\masmx86)\r
23- Open contrib\vstudio\vc9\zlibvc.sln with Microsoft Visual C++ 2008\r
24- Or run: vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32"\r
25\r
26Build instructions for Visual Studio 2010 (32 bits or 64 bits)\r
27--------------------------------------------------------------\r
28- Uncompress current zlib, including all contrib/* files\r
29- Open contrib\vstudio\vc10\zlibvc.sln with Microsoft Visual C++ 2010\r
30\r
31\r
32Important\r
33---------\r
34- To use zlibwapi.dll in your application, you must define the\r
35 macro ZLIB_WINAPI when compiling your application's source files.\r
36\r
37\r
38Additional notes\r
39----------------\r
40- This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built\r
41 by Gilles Vollant from the zlib 1.1.x sources, and distributed at\r
42 http://www.winimage.com/zLibDll\r
43 It uses the WINAPI calling convention for the exported functions, and\r
44 includes the minizip functionality. If your application needs that\r
45 particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.\r
46\r
47- The new DLL was renamed because there exist several incompatible\r
48 versions of zlib.dll on the Internet.\r
49\r
50- There is also an official DLL build of zlib, named zlib1.dll. This one\r
51 is exporting the functions using the CDECL convention. See the file\r
52 win32\DLL_FAQ.txt found in this zlib distribution.\r
53\r
54- There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol\r
55 has a slightly different effect. To avoid compatibility problems, do\r
56 not define it here.\r
57\r
58\r
59Gilles Vollant\r
60info@winimage.com\r
This page took 0.052343 seconds and 4 git commands to generate.