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