mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 03:45:49 +01:00
Update with some information about using configure and libtool.
2001-03-09 Tor Lillqvist <tml@iki.fi> * README.win32: Update with some information about using configure and libtool.
This commit is contained in:
parent
2f928d6457
commit
c54732d0ea
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* README.win32: Update with some information about using configure
|
||||
and libtool.
|
||||
|
||||
2001-03-09 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gobject/gobject.def : updated
|
||||
@ -116,6 +121,8 @@ Thu Feb 22 10:31:36 2001 Owen Taylor <otaylor@redhat.com>
|
||||
* gutils.c: For code needed both on Cygwin and native Win32,
|
||||
test for G_PLATFORM_WIN32.
|
||||
|
||||
* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
|
||||
|
||||
* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
|
||||
in case compiling a static library on Win32 or Cygwin.
|
||||
|
||||
|
27
README.win32
27
README.win32
@ -24,14 +24,19 @@ the prebuilt DLLs (especially of GTK+), you *must* also use that flag.
|
||||
(This flag means that the struct layout is identical to that used by
|
||||
MSVC.)
|
||||
|
||||
If you would want to use the cygwin tools to generate executables that
|
||||
*do* use the cygwin runtime, the normal Unix configuration method
|
||||
should work as if on Unix. But it won't produce DLLs. At least I
|
||||
haven't succeeded in that. Also, I have no idea what changes are
|
||||
necessary to the code for it to run successfully on cygwin.
|
||||
If you would want to use the cygwin tools to generate a GLib that
|
||||
*does* use the cygwin runtime, the normal Unix configuration method
|
||||
should work as if on Unix. Note that successfully producing shared
|
||||
libraries (DLLs) most probably requires you to have a very new libtool
|
||||
(from March 2001), and to replace the libtool.m4 included in
|
||||
acinclude.m4 with the new one, and to replace ltmain.sh.
|
||||
|
||||
With some work, it might be possible to use the ./configure mechanism
|
||||
also with a "mingw32" configuration.
|
||||
It is also possible to use the ./configure mechanism when building for
|
||||
a mingw configuration. You should be running cygwin for the configure
|
||||
script to work, obviously. The same libtool issue has to be taken into
|
||||
account as when building for Cygwin: You most probably should have a
|
||||
libtool from March 2001 or so, and replace libtool.m4 (in
|
||||
acinclude.m4) and ltmain.sh.
|
||||
|
||||
The following preprocessor macros are used for conditional compilation
|
||||
related to Win32:
|
||||
@ -43,9 +48,11 @@ related to Win32:
|
||||
|
||||
- G_WITH_CYGWIN is defined if compiling for the Cygwin
|
||||
environment. Note that G_OS_WIN32 is *not* defined in that case, as
|
||||
Cygwin is supposed to behave like Unix. Building for Cygwin is not
|
||||
supported. Some people have presumably done it, but no changes have
|
||||
been submitted back.
|
||||
Cygwin is supposed to behave like Unix. G_OS_UNIX *is* defined when
|
||||
compiling for Cygwin.
|
||||
|
||||
- G_PLATFORM_WIN32 is defined when either G_OS_WIN32 or G_WITH_CYGWIN
|
||||
is defined.
|
||||
|
||||
The Win32 port of GLib and related software uses only G_OS_WIN32. As
|
||||
G_OS_WIN32 is defined in glibconfig.h, it is available to all source
|
||||
|
Loading…
x
Reference in New Issue
Block a user