Minor edits.

2002-03-03  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Minor edits.
This commit is contained in:
Tor Lillqvist 2002-03-03 21:52:28 +00:00 committed by Tor Lillqvist
parent afd73d29e2
commit d9f8121359
8 changed files with 33 additions and 21 deletions

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,5 +1,7 @@
2002-03-03 Tor Lillqvist <tml@iki.fi> 2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
* config.h.win32.in: Update to match a recent configure-generated * config.h.win32.in: Update to match a recent configure-generated
config.h config.h

View File

@ -1,12 +1,12 @@
The Win32 port of GTK+ is a work in progress, and not as stable or 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 correct as the Unix/X11 version. For more information about the Win32
port, see http://www.gimp.org/win32/ . port, and prebuilt runtime and developer packages see
http://www.gimp.org/win32/ .
This (CVS HEAD) version of the Win32 backend does *not* necessarily There is a gtk-1-3-win32-production branch of GTK+ that was branched
even compile properly. There is a gtk-1-3-win32-production branch that off from before the addition of the no-flicker and other recent
was branched off from before the addition of the no-flicker and other functionality. That is what should be used by "production" code until
recent functionality. That is what should be used by "production" code this CVS HEAD (2.0) version is useable. (But note, the Win32 backend
until the CVS HEAD version is useable. (But note, the Win32 backend
has never been claimed to be "production quality", although it works has never been claimed to be "production quality", although it works
surprisingly well for the GIMP.) surprisingly well for the GIMP.)
@ -22,11 +22,15 @@ this myself, but it might be hell to setup correctly.
Personally I run configure with: Personally I run configure with:
CC='gcc -mpentium -fnative-struct' CPPFLAGS='-I/target/include' CFLAGS=-O2 LDFLAGS='-L/target/lib' ./configure --disable-static --prefix=/target --with-gdktarget=win32 --with-wintab=/src/wtkit126 --with-ie55=/src/workshop/ie55_lib --host=i386-pc-mingw32 --enable-maintainer-mode CC='gcc -mpentium -fnative-struct' CPPFLAGS='-I/target/include' CFLAGS=-O2 LDFLAGS='-L/target/lib' ./configure --disable-static --prefix=/target --with-gdktarget=win32 --with-wintab=/src/wtkit126 --with-ie55=/src/workshop/ie55_lib --host=i386-pc-mingw32 --enable-maintainer-mode
It might well be that in order for this to work, you will have to get
a bleeding-edge version of libtool for Win32, run libtoolize yourself,
and then run autoconf to generate the configure script.
2) Use the Microsoft compiler, cl and Make, nmake. Say nmake -f 2) Use the Microsoft compiler, cl and Make, nmake. Say nmake -f
makefile.msc in gdk and gtk. makefile.msc in gdk and gtk.
Alternative 1 also generates Microsoft import libraries (.lib), if you Alternative 1 also generates Microsoft import libraries (.lib), if you
have lib.exe available. It should also work for cross-compilation from have lib.exe available. It might also work for cross-compilation from
Unix. Unix.
There are hand-written makefiles for mingw (look for makefile.mingw in There are hand-written makefiles for mingw (look for makefile.mingw in
@ -34,20 +38,18 @@ various directories), but those haven't been kept up-to-date, and
probably won't work without editing. Sorry. If you make them work probably won't work without editing. Sorry. If you make them work
again, by all means do submit patches. again, by all means do submit patches.
Note that I use mainly gcc myself, and thus the build setup for Note that I use method 1 myself. Hans Breuer has been taking care of
Microsoft's nmake and cl might be a bit rusty. Hans Breuer has been the MSVC makefiles. At times, we disagree a bit about various issues,
taking care of those makefiles. At times, we disagree a bit, and the and the makefile.msc files might not produce identically named DLLs
msc makefiles might not produce compatible or identically named DLLs and import libraries as the "autoconfiscated" makefiles and libtool
and import libraries as the autoconfiscated makefiles and libtool do. do.
Using GTK+ on Win32 Using GTK+ on Win32
=================== ===================
To use GTK+ on Win32, you also need either one of the above mentioned To use GTK+ on Win32, you also need either one of the above mentioned
compilers. Other compilers might work, but don't count on it. The same compilers. Other compilers might work, but don't count on it. Look for
instructions on how to set up a correct version of gcc should also be prebuilt developer packages (DLLs, import libraries, headers) on the
followed if you want to build applications that use GTk+ with gcc. For
prebuilt developer packages (DLLs, import libraries, headers), see the
above website. above website.
Multi-threaded use of GTK+ on Win32 Multi-threaded use of GTK+ on Win32
@ -78,10 +80,6 @@ i18n stuff, undefine ENABLE_NLS, HAVE_GETTEXT and HAVE_LIBINTL in the
config.h.win32 file, and remove references to the intl library from config.h.win32 file, and remove references to the intl library from
the makefiles. the makefiles.
Note that while the GNU gettext package is under the GPL, the "intl"
part of it is under the LGPL (like GTK or GLib), as of
gettext-0.10.40.
ActiveIMM ActiveIMM
========= =========
@ -89,7 +87,7 @@ If you want to build a GTK+ that supports ActiveIMM (the Input Method
Manager for non-EastAsia locales that can be used on Win9x/NT4), you Manager for non-EastAsia locales that can be used on Win9x/NT4), you
need the dimm.h header file. That is somewhat difficult to find, but need the dimm.h header file. That is somewhat difficult to find, but
http://msdn.microsoft.com/downloads/samples/internet/wizard/ seems to http://msdn.microsoft.com/downloads/samples/internet/wizard/ seems to
be a good place to look nowadays. If you use autoconfiscated build, be a good place to look nowadays. If you use "autoconfiscated" build,
pass the --with-ie55 flag to configure specifyin the location of the pass the --with-ie55 flag to configure specifyin the location of the
ie55_lib directory created by downloading the IE5.5 headers and libs ie55_lib directory created by downloading the IE5.5 headers and libs
from the above URL. from the above URL.