Distribute the build-dll script also. Add some comments about it.

This commit is contained in:
Tor Lillqvist 1999-06-28 06:06:34 +00:00
parent 92a9354a9e
commit 57254d4491
4 changed files with 12 additions and 3 deletions

View File

@ -21,7 +21,8 @@ EXTRA_DIST = \
makefile.cygwin \ makefile.cygwin \
giowin32.c \ giowin32.c \
glibconfig.h.win32 \ glibconfig.h.win32 \
config.h.win32 config.h.win32 \
build-dll
lib_LTLIBRARIES = libglib.la lib_LTLIBRARIES = libglib.la

View File

@ -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). (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`. 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>

View File

@ -3,7 +3,10 @@
# Temporary hack until building dlls or executables with exported # Temporary hack until building dlls or executables with exported
# entry points is easier with gcc -mno-cygwin. # 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 GCC=gcc
DLLTOOL=dlltool DLLTOOL=dlltool
AS=as AS=as

View File

@ -21,7 +21,8 @@ EXTRA_DIST = \
makefile.cygwin \ makefile.cygwin \
giowin32.c \ giowin32.c \
glibconfig.h.win32 \ glibconfig.h.win32 \
config.h.win32 config.h.win32 \
build-dll
lib_LTLIBRARIES = libglib.la lib_LTLIBRARIES = libglib.la