]> Pileus Git - ~andy/gtk/blob - README.win32
Large changes to the Win32 backend, partially made necessary by the
[~andy/gtk] / README.win32
1 The Win32 port of GTk+ is a work in progress, and not as stable or
2 correct as the Unix/X11 version. For more information about the Win32
3 port, see http://www.gimp.org/tml/gimp/win32/ or
4 http://www.iki.fi/tml/gimp/win32/ .
5
6 The current (CVS) version of the Win32 backend is *not* as stable as it
7 was before the no-flicker branch was merged. A zipfile with that
8 version is available from http://www.gimp.org/win32/. That should be
9 use by "production" code until this CVS version is usable. (But note,
10 the Win32 backend has never been claimed to be "production quality".)
11
12 To build GTk+ on Win32, you need either the Microsoft compiler and
13 tools, or gcc-2.95 or later. The mingw setup of gcc is preferred, but
14 you can run gcc also under cygwin-b20.1 or later. Compile in
15 gdk\win32, gdk and gtk with `nmake -f makefile.msc` or `make -f
16 makefile.cygwin`. The name makefile.cygwin is misleading, it should
17 really be called makefile.mingw.
18
19 See the README.win32 file in the GLib distribution for instructions
20 how to build with gcc.
21
22 To use GTk+ on Win32, you also need either of the above mentioned
23 compilers. Other compilers might work, but don't count on it.  The
24 same instructions on how to set up a correct version of gcc should
25 also be followed if you want to build applications that use GTk+ with
26 gcc.
27
28 The tablet support uses the Wintab API. The Wintab development kit can
29 be downloaded from http://www.pointing.com. If you don't care for
30 that, undefine HAVE_WINTAB in config.h.win32 and remove references to
31 the wntab32x library from the makefile before building.
32
33 GTk+ wants to be built with the GNU "intl" library for
34 internationalisation (i18n). Get the version ported to Win32 (not a
35 very big deal) from tml's web site mentioned above. We build the
36 "intl" library as a DLL called gnu-intl.dll (the "gnu" prefix is used
37 to reduce name clash risks). If you don't want any i18n stuff,
38 undefine ENABLE_NLS, HAVE_GETTEXT and HAVE_LIBINTL in the
39 config.h.win32 file, and remove references to the gnu-intl library
40 from the makefiles.
41
42 Note that while the GNU gettext package is under the GPL, the "intl"
43 part of it which is distributed with GNU libc is under the LGPL (like
44 GTk+ or GLib). We want the LGPL one, even if they are the same, more
45 or less.