+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
+2001-11-05 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: Minor edits.
+
+ * glib-zip.in: Build separate runtime and developer packages.
+
+ * glib/libcharset/config.charset (os): Don't need to match mingw
+ after all, the charset.alias file isn't even used on Win32... (see
+ localcharset.c).
+
+ * glib/makefile.mingw.in: Add gdir.
+
+ * glib/glib.def: Add g_dir_* entry points.
+
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (CFLAGS): Add check for dirent.h
General
=======
-For more information about the port or GLib, GTk+ and the GIMP to
+For more information about the port or GLib, GTK+ and the GIMP to
native Windows, and pre-built binaries (DLLs), surf to
http://www.gimp.org/win32/ . "Native" means that we use the Win32 API
only, and no POSIX (Unix) emulation layer except that provided by the
- G_OS_WIN32 is defined when compiling for Win32, *and* without
any POSIX emulation, other that to the extent provided by the
- bundled Microsoft C library (msvcrt.dll) and the pthreads-win32
- library. For instance, pathnames are in the native Windows syntax.
+ bundled Microsoft C library (msvcrt.dll).
- G_WITH_CYGWIN is defined if compiling for the Cygwin
environment. Note that G_OS_WIN32 is *not* defined in that case, as
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
-files that use GLib (or GTk+, which uses GLib).
+files that use GLib (or GTK+, which uses GLib).
Additionally, there are the compiler-specific macros:
- __GNUC__ is defined when using GCC
G_OS_WIN32 implies using the Microsoft C runtime MSVCRT.DLL. GLib is
not known to work with the older CRTDLL.DLL runtime, or the static
-Microsoft C runtime libraries.
+Microsoft C runtime libraries LIBC.LIB and LIBCMT.LIB.
-Building software that use GLib or GTk+
+Building software that use GLib or GTK+
=======================================
-Even building software that just *use* GLib or GTk+ also require to
+Even building software that just *use* GLib or GTK+ also require to
have the right compiler set up the right way, so if you intend to use
gcc, follow the relevant instructions below in that case, too.
#!/bin/sh
-# Build zipfile for GLib on Win32: both runtime and developer stuff
+# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
# After running make install, run this.
-# These paths obviously are system-dependent:
-ZIP=/g/tmp/glib-@GLIB_VERSION@.zip
-cd /target
+ZIP=/tmp/glib-@GLIB_VERSION@.zip
+DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
+
+cd @prefix@
rm $ZIP
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
+bin/gspawn-win32-helper.exe
+lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
+EOF
+
+zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
+
+rm $DEVZIP
+zip -r $DEVZIP -@ <<EOF
bin/glib-genmarshal.exe
bin/glib-gettextize
bin/glib-mkenums
bin/gobject-query.exe
-bin/gspawn-win32-helper.exe
include/glib-2.0
-lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libglib-1.3.dll.a
lib/glib-1.3.lib
-lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libgmodule-1.3.dll.a
lib/gmodule-1.3.lib
-lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libgobject-1.3.dll.a
lib/gobject-1.3.lib
-lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
lib/libgthread-1.3.dll.a
lib/gthread-1.3.lib
lib/glib-2.0
man/man1/glib-genmarshal.1
EOF
-zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
g_date_valid_month
g_date_valid_weekday
g_date_valid_year
+ g_dir_close
+ g_dir_open
+ g_dir_read_name
+ g_dir_rewind
g_direct_equal
g_direct_hash
g_error_copy
# BeOS has a single locale, and it has UTF-8 encoding.
echo "* UTF-8"
;;
- msdosdjgpp*|mingw*)
+ msdosdjgpp*)
# DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore
# localcharset.c falls back to using the full locale name
# from the environment variables.
gconvert.o \
gdataset.o \
gdate.o \
+ gdir.o \
gerror.o \
gfileutils.o \
ghash.o \