]> Pileus Git - ~andy/gtk/blob - README.win32
Use g_filename_to_utf8 to convert the font names Windows gives us from
[~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 To build GTk+ on Win32, you need either the Microsoft compiler and
7 tools, or gcc-2.95 or later running under cygwin-b20.1 or
8 later. Compile in gdk\win32 and gtk with `nmake -f makefile.msc` or
9 `make -f makefile.cygwin`. Before doing a install, check the BIN
10 definition in gdk\win32\makefile.msc (or makefile.cygwin) and
11 gtk\makefile.msc (or makefile.cygwin).
12
13 See the README.win32 file in the GLib distribution for instructions
14 how to build with gcc.
15
16 To use GTk+ on Win32, you also need either of the above mentioned
17 compilers. Other compilers might work, but don't count on it.  The
18 same instructions on how to set up a correct version of gcc should
19 also be followed if you want to build applications that use GTk+ with
20 gcc.
21
22 The tablet support uses the Wintab API. The Wintab development kit can
23 be downloaded from http://www.pointing.com. If you don't care for
24 that, undefine HAVE_WINTAB in config.h.win32 and remove references to
25 the wntab32x library from the makefile before building.
26
27 GTk+ wants to be built with the GNU "intl" library for
28 internationalisation (i18n). Get the version ported to Win32 (not a
29 very big deal) from tml's web site mentioned above. We build the
30 "intl" library as a DLL called gnu-intl.dll (the "gnu" prefix is used
31 to reduce name clash risks). If you don't want any i18n stuff,
32 undefine ENABLE_NLS, HAVE_GETTEXT and HAVE_LIBINTL in the
33 config.h.win32 file, and remove references to the gnu-intl library
34 from the makefiles.
35
36 Note that while the GNU gettext package is under the GPL, the "intl"
37 part of it as distributed with GNU libc is under the LGPL (like GTk+
38 or GLib). We want the LGPL one, even if they are the same, more or
39 less.