README.win32 1.72 KB
Newer Older
Tor Lillqvist's avatar
Tor Lillqvist committed
1
2
3
4
5
The Win32 port of GTk+ is a work in progress, and not as stable or
correct as the Unix/X11 version. For more information about the Win32
port, see http://www.gimp.org/tml/gimp/win32/ or
http://www.iki.fi/tml/gimp/win32/ .

6
7
To build GTk+ on Win32, you need either the Microsoft compiler and
tools, or gcc-2.95 or later running under cygwin-b20.1 or
8
9
later. Compile in gdk\win32, gdk and gtk with `nmake -f makefile.msc` or
`make -f makefile.cygwin`.
10

11
12
See the README.win32 file in the GLib distribution for instructions
how to build with gcc.
Tor Lillqvist's avatar
Tor Lillqvist committed
13

14
15
16
17
18
To use GTk+ on Win32, you also need either of the above mentioned
compilers. Other compilers might work, but don't count on it.  The
same instructions on how to set up a correct version of gcc should
also be followed if you want to build applications that use GTk+ with
gcc.
Tor Lillqvist's avatar
Tor Lillqvist committed
19

Tor Lillqvist's avatar
Tor Lillqvist committed
20
The tablet support uses the Wintab API. The Wintab development kit can
21
be downloaded from http://www.pointing.com. If you don't care for
22
23
that, undefine HAVE_WINTAB in config.h.win32 and remove references to
the wntab32x library from the makefile before building.
24

25
GTk+ wants to be built with the GNU "intl" library for
26
internationalisation (i18n). Get the version ported to Win32 (not a
27
very big deal) from tml's web site mentioned above. We build the
28
29
30
31
32
"intl" library as a DLL called gnu-intl.dll (the "gnu" prefix is used
to reduce name clash risks). If you don't want any i18n stuff,
undefine ENABLE_NLS, HAVE_GETTEXT and HAVE_LIBINTL in the
config.h.win32 file, and remove references to the gnu-intl library
from the makefiles.
33

34
Note that while the GNU gettext package is under the GPL, the "intl"
35
part of it as distributed with GNU libc is under the LGPL (like GTk+
36
37
or GLib). We want the LGPL one, even if they are the same, more or
less.