Support added for building using a GNU toolchain on Win32,

i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2).

	* README.win32: Updated.
	* build-dll makefile.cygwin tests/makefile.cygwin: New files.
	* glib.h glib.def glibconfig.h.win32 makefile.msc: Slight updates.
	* gmain.c: No need to include <fcntl.h> and <io.h> on Win32.
	* gmain.c gutils.c testglib.c tests/string-test.c: Test for
	NATIVE_WIN32, not _MSC_VER.
	* gmutex.c: Must declare g_thread_functions_for_glib_use as
	exported (using the GUTILS_C_VAR macro).
	* gutils.c gmodule/libgplugin_[ab].c: LibMain not needed.
	* gmodule/gmoduleconf.h.win32: Need underscore with gcc.
	* gthread/gthread.c: With gcc on Win32, must use memcpy to assign
	value of g_thread_functions_for_glib_use (?).
	* makefile.msc tests/makefile.msc: Cosmetics.
This commit is contained in:
Tor Lillqvist
1999-04-24 13:52:51 +00:00
parent 0269749a67
commit 2aa1277d60
30 changed files with 496 additions and 112 deletions

View File

@@ -56,7 +56,6 @@ EXPORTS
g_date_is_last_of_month
g_date_is_leap_year
g_date_julian
g_date_julian
g_date_monday_week_of_year
g_date_monday_weeks_in_year
g_date_new
@@ -377,9 +376,13 @@ EXPORTS
g_string_new
g_string_prepend
g_string_prepend_c
g_string_readline
g_string_readline_buffered
g_string_sized_new
g_string_sprintf
g_string_sprintfa
g_string_tokenise
g_string_tokenise_free
g_string_truncate
g_string_up
g_strjoinv