summaryrefslogtreecommitdiff
path: root/build-dll
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-07-21 19:18:03 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-07-21 19:18:03 +0000
commit4d7172def0a985ced97f197cee7973f304a5cc51 (patch)
tree7a5344660260d5f9b96e0c7ff7c3dcb7d2e4abbb /build-dll
parentda87b1ac8505eacf293b9dfc985e5ae93a82a4b7 (diff)
downloadglib-4d7172def0a985ced97f197cee7973f304a5cc51.tar.gz
Win32: With the latest gcc (2.95, pre-release), we can have binary
compatibility with MSVC by using the switch -fnative-struct. No longer build DLLs with .gcc in the name when using gcc. * README.win32: Renew gcc build instructions. * build-dll: Comments change, handle also .a files. * makefile.cygwin.in * tests/makefile.cygwin.in: Remove .gcc from DLL name.
Diffstat (limited to 'build-dll')
-rw-r--r--build-dll8
1 files changed, 4 insertions, 4 deletions
diff --git a/build-dll b/build-dll
index 1f5c3817c..958b45f30 100644
--- a/build-dll
+++ b/build-dll
@@ -1,11 +1,11 @@
#!/bin/sh
# 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 ("mingw32").
# 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.
+# (egcs-1.1.2 release) or gcc-2.95 as distributed by Mumit Khan. For
+# other combinations, no idea.
GCC=gcc
DLLTOOL=dlltool
@@ -25,7 +25,7 @@ dllfile=$libname.dll
for F in $ldargs; do
case $F in
- *.o) objs="$objs $F";;
+ *.[ao]) objs="$objs $F";;
esac
done