makefile.cygwin \
giowin32.c \
glibconfig.h.win32 \
- config.h.win32
+ config.h.win32 \
+ build-dll
lib_LTLIBRARIES = libglib.la
(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>
# 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
makefile.cygwin \
giowin32.c \
glibconfig.h.win32 \
- config.h.win32
+ config.h.win32 \
+ build-dll
lib_LTLIBRARIES = libglib.la