diff options
Diffstat (limited to 'projects/visualc6/README.txt')
-rw-r--r-- | projects/visualc6/README.txt | 59 |
1 files changed, 47 insertions, 12 deletions
diff --git a/projects/visualc6/README.txt b/projects/visualc6/README.txt index 71d6105..d0296c2 100644 --- a/projects/visualc6/README.txt +++ b/projects/visualc6/README.txt | |||
@@ -5,7 +5,23 @@ Copyright (C) 2004 Cosmin Truta. | |||
5 | For conditions of distribution and use, see copyright notice in zlib.h. | 5 | For conditions of distribution and use, see copyright notice in zlib.h. |
6 | 6 | ||
7 | 7 | ||
8 | To use: | 8 | This project builds the zlib binaries as follows: |
9 | |||
10 | * Win32_DLL_Release\zlib1.dll DLL build | ||
11 | * Win32_DLL_Debug\zlib1d.dll DLL build (debug version) | ||
12 | * Win32_DLL_ASM_Release\zlib1.dll DLL build using ASM code | ||
13 | * Win32_DLL_ASM_Debug\zlib1d.dll DLL build using ASM code (debug version) | ||
14 | * Win32_LIB_Release\zlib.lib static build | ||
15 | * Win32_LIB_Debug\zlibd.lib static build (debug version) | ||
16 | * Win32_LIB_ASM_Release\zlib.lib static build using ASM code | ||
17 | * Win32_LIB_ASM_Debug\zlibd.lib static build using ASM code (debug version) | ||
18 | |||
19 | |||
20 | For more information regarding the DLL builds, please see the DLL FAQ | ||
21 | in ..\..\win32\DLL_FAQ.txt. | ||
22 | |||
23 | |||
24 | To build and test: | ||
9 | 25 | ||
10 | 1) On the main menu, select "File | Open Workspace". | 26 | 1) On the main menu, select "File | Open Workspace". |
11 | Open "zlib.dsw". | 27 | Open "zlib.dsw". |
@@ -22,17 +38,36 @@ To use: | |||
22 | select "Build | Execute ... (Ctrl+F5)". | 38 | select "Build | Execute ... (Ctrl+F5)". |
23 | 39 | ||
24 | 40 | ||
25 | This project builds the zlib binaries as follows: | 41 | To use: |
26 | 42 | ||
27 | * Win32_DLL_Release\zlib1.dll DLL build | 43 | 1) Select "Project | Settings (Alt+F7)". |
28 | * Win32_DLL_Debug\zlib1d.dll DLL build (debug version) | 44 | Make note of the configuration names used in your project. |
29 | * Win32_DLL_ASM_Release\zlib1.dll DLL build using ASM code | 45 | Usually, these names are "Win32 Release" and "Win32 Debug". |
30 | * Win32_DLL_ASM_Debug\zlib1d.dll DLL build using ASM code (debug version) | ||
31 | * Win32_LIB_Release\zlib.lib static build | ||
32 | * Win32_LIB_Debug\zlibd.lib static build (debug version) | ||
33 | * Win32_LIB_ASM_Release\zlib.lib static build using ASM code | ||
34 | * Win32_LIB_ASM_Debug\zlibd.lib static build using ASM code (debug version) | ||
35 | 46 | ||
47 | 2) In the Workspace window, select the "FileView" tab. | ||
48 | Right-click on the root item "Workspace '...'". | ||
49 | Select "Insert Project into Workspace". | ||
50 | Switch on the checkbox "Dependency of:", and select the name | ||
51 | of your project. Open "zlib.dsp". | ||
36 | 52 | ||
37 | For more information regarding the DLL builds, please see the DLL FAQ | 53 | 3) Select "Build | Configurations". |
38 | in ..\..\win32\DLL_FAQ.txt. | 54 | For each configuration of your project: |
55 | 3.1) Choose the zlib configuration you wish to use. | ||
56 | 3.2) Click on "Add". | ||
57 | 3.3) Set the new zlib configuration name to the name used by | ||
58 | the configuration from the current iteration. | ||
59 | |||
60 | 4) Select "Build | Set Active Configuration". | ||
61 | Choose the configuration you wish to build. | ||
62 | |||
63 | 5) Select "Build | Build ... (F7)". | ||
64 | |||
65 | 6) If you built an executable program, select | ||
66 | "Build | Execute ... (Ctrl+F5)". | ||
67 | |||
68 | |||
69 | Note: | ||
70 | |||
71 | To build the ASM-enabled code, you need Microsoft Assembler | ||
72 | (ML.EXE). You can get it by downloading and installing the | ||
73 | latest Processor Pack for Visual C++ 6.0. | ||