source: trunk/third/gettext2/README.woe32 @ 22167

Revision 22167, 2.6 KB checked in by ghudson, 19 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22166, which included commits to RCS files with non-trunk default branches.
Line 
1Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
2
3- Requires MS Visual C/C++ 4.0 or 5.0 or 6.0 or 7.0.
4
5  Note that binaries created with MSVC 7.0 cannot be distributed: They depend
6  on a closed-source library 'msvcr70.dll' which is not normally part of a
7  Woe32 installation, therefore the distribution of such binaries - with or
8  without msvcr70.dll - would be a violation of the GPL. This problem does not
9  occur with MSVC 6.0 and earlier.
10
11- Cannot build in a separate directory.
12
13- Build instructions:
14
15   Make sure that the MSVC4.0 or MSVC5.0 or MSVC6.0 or MSVC7.0 utilities
16   ("cl" etc.) are found in PATH. In a typical MSVC6.0 installation, this
17   can be achieved by running
18        C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
19   In a typical MSVC7.0 installation, it can be achieved by running
20        C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
21
22   Decide which compilation model you will use:
23     MFLAGS=-ML (the default)  Single-threaded, statically linked - libc.lib
24     MFLAGS=-MT                Multi-threaded, statically linked  - libcmt.lib
25     MFLAGS=-MD                Multi-threaded, dynamically linked - msvcrt.lib
26
27   You need GNU libiconv (version 1.9 or newer) installed under c:\usr. If
28   you haven't yet, build and install GNU libiconv (version 1.9 or newer)
29   using the same MFLAGS. Then come back to here, to build GNU gettext.
30
31   For shared library (DLL):
32
33        nmake -f Makefile.msvc DLL=1 MFLAGS=-MD
34
35   For static library:
36
37        nmake -f Makefile.msvc MFLAGS=-MD
38
39   If you want to build both the shared and static library, you have to
40   unpack the gettext sources twice in different directories. Don't mix
41   the two formats; you cannot use the libintl.h generated for the static
42   library together with the shared library or vice versa.
43
44   Install it:
45
46         nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install
47   or
48         nmake -f Makefile.msvc MFLAGS=-MD install
49
50- Installation:
51
52   Complete and automatic installation:
53
54         nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
55      or
56         nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory
57
58      By default, the compiled package is installed under c:\usr. You can
59      specify a different directory by giving the installation base directory
60      in a PREFIX=... option in the install step. (DON'T give the PREFIX
61      already in the build step! This won't work.) You can also omit the
62      PREFIX=... option, thus installing everything under c:\usr, and then
63      move the installed package as a whole from c:\usr to a different
64      location.
Note: See TracBrowser for help on using the repository browser.