From 57254d4491c9502996e3465ac0b3fdb09f6c2a04 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 28 Jun 1999 06:06:34 +0000 Subject: [PATCH] Distribute the build-dll script also. Add some comments about it. --- Makefile.am | 3 ++- README.win32 | 4 ++++ build-dll | 5 ++++- glib/Makefile.am | 3 ++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index f5a8c471a..d6931be0a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,8 @@ EXTRA_DIST = \ makefile.cygwin \ giowin32.c \ glibconfig.h.win32 \ - config.h.win32 + config.h.win32 \ + build-dll lib_LTLIBRARIES = libglib.la diff --git a/README.win32 b/README.win32 index 8d83009cd..c741a79d1 100644 --- a/README.win32 +++ b/README.win32 @@ -142,3 +142,7 @@ using msvcrt, as per the specs file above), and move it into place (typically C:\cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\lib\dllcrt2.o). Next, go back to the GLib directory and build using `make -f makefile.cygwin`. +Building the dlls uses the script build-dll which is an awful hack. But +I couldn't get things working in a cleaner way. + +--Tor Lillqvist diff --git a/build-dll b/build-dll index ff41e1106..d3d5d5405 100644 --- a/build-dll +++ b/build-dll @@ -3,7 +3,10 @@ # Temporary hack until building dlls or executables with exported # entry points is easier with gcc -mno-cygwin. -#LD=ld +# This is usable with cygwin b20.1 and egcs-2.91.66 19990314 +# (egcs-1.1.2 release) as distributed by Mumit Khan. For other combinations, +# no idea. + GCC=gcc DLLTOOL=dlltool AS=as diff --git a/glib/Makefile.am b/glib/Makefile.am index f5a8c471a..d6931be0a 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -21,7 +21,8 @@ EXTRA_DIST = \ makefile.cygwin \ giowin32.c \ glibconfig.h.win32 \ - config.h.win32 + config.h.win32 \ + build-dll lib_LTLIBRARIES = libglib.la