summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-06-28 06:06:34 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-06-28 06:06:34 +0000
commit57254d4491c9502996e3465ac0b3fdb09f6c2a04 (patch)
treed9bf050c70589bc9a49aa07fc5c6603d6b9261b7
parent92a9354a9eb161a6d75048fb10875502894dc041 (diff)
Distribute the build-dll script also. Add some comments about it.
-rw-r--r--Makefile.am3
-rw-r--r--README.win324
-rw-r--r--build-dll5
-rw-r--r--glib/Makefile.am3
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 <tml@iki.fi>
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