~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/README.woe32

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installation 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 should not be distributed: They
 
6
  depend on a closed-source library 'msvcr70.dll' which is not normally part
 
7
  of a Woe32 installation. You cannot distribute 'msvcr70.dll' with the
 
8
  binaries - this would be a violation of the GPL and of the Microsoft EULA.
 
9
  You can distribute the binaries without including 'msvcr70.dll', but this
 
10
  will cause problems for users that don't have this library on their system.
 
11
  Therefore it is not recommended. This problem does not occur with MSVC 6.0
 
12
  and earlier.
 
13
 
 
14
- Cannot build in a separate directory.
 
15
 
 
16
- Build instructions:
 
17
 
 
18
   Make sure that the MSVC4.0 or MSVC5.0 or MSVC6.0 or MSVC7.0 utilities
 
19
   ("cl" etc.) are found in PATH. In a typical MSVC6.0 installation, this
 
20
   can be achieved by running
 
21
        C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
 
22
   In a typical MSVC7.0 installation, it can be achieved by running
 
23
        C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
 
24
 
 
25
   Decide which compilation model you will use:
 
26
     MFLAGS=-ML (the default)  Single-threaded, statically linked - libc.lib
 
27
     MFLAGS=-MT                Multi-threaded, statically linked  - libcmt.lib
 
28
     MFLAGS=-MD                Multi-threaded, dynamically linked - msvcrt.lib
 
29
 
 
30
   You need GNU libiconv (version 1.9 or newer) installed under c:\usr. If
 
31
   you haven't yet, build and install GNU libiconv (version 1.9 or newer)
 
32
   using the same MFLAGS. Then come back to here, to build GNU gettext.
 
33
 
 
34
   For shared library (DLL):
 
35
 
 
36
        nmake -f Makefile.msvc DLL=1 MFLAGS=-MD
 
37
 
 
38
   For static library:
 
39
 
 
40
        nmake -f Makefile.msvc MFLAGS=-MD
 
41
 
 
42
   If you want to build both the shared and static library, you have to
 
43
   unpack the gettext sources twice in different directories. Don't mix
 
44
   the two formats; you cannot use the libintl.h generated for the static
 
45
   library together with the shared library or vice versa.
 
46
 
 
47
- Installation:
 
48
 
 
49
        nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
 
50
   or
 
51
        nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory