This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
minor gcc patch for i386-mingw32
- To: egcs-bugs at cygnus dot com
- Subject: minor gcc patch for i386-mingw32
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Sun, 24 May 1998 20:43:02 -0500
Sun May 24 20:24:37 1998 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (s_check): Add missing exeext.
(gencheck): Likewise.
(gencheck.o): Use HOST_CC.
* i386/t-mingw32: New file.
* configure.in (i386-*-mingw32*): Use.
Index: gnu/egcs/gcc/Makefile.in
diff -u gnu/egcs/gcc/Makefile.in:1.1.1.2 gnu/egcs/gcc/Makefile.in:1.2
--- gnu/egcs/gcc/Makefile.in:1.1.1.2 Sun May 24 18:38:24 1998
+++ gnu/egcs/gcc/Makefile.in Sun May 24 20:36:59 1998
@@ -1316,14 +1316,17 @@
-c `echo $(srcdir)/gcc.c | sed 's,^\./,,'`
tree-check.h: s-check ; @true
-s-check : tree.def gencheck $(srcdir)/move-if-change
+s-check : tree.def gencheck$(exeext) $(srcdir)/move-if-change
./gencheck > tmp-check.h
$(srcdir)/move-if-change tmp-check.h tree-check.h
touch s-check
-gencheck : gencheck.o tree.h tree.def $(HOST_LIBDEPS)
+gencheck$(exeext) : gencheck.o tree.h tree.def $(HOST_LIBDEPS)
$(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
gencheck.o $(HOST_LIBS)
+
+gencheck.o : gencheck.c hconfig.h system.h
+ $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/gencheck.c
dumpvers: dumpvers.c
Index: gnu/egcs/gcc/config/i386/t-mingw32
diff -u /dev/null gnu/egcs/gcc/config/i386/t-mingw32:1.1
--- /dev/null Sun May 24 20:38:26 1998
+++ gnu/egcs/gcc/config/i386/t-mingw32 Sun May 24 20:31:12 1998
@@ -0,0 +1,4 @@
+#
+# collect2 doesn't work for i386-mingw32* yet.
+#
+USE_COLLECT2=
Index: gnu/egcs/gcc/configure.in
diff -u gnu/egcs/gcc/configure.in:1.1.1.2 gnu/egcs/gcc/configure.in:1.2
--- gnu/egcs/gcc/configure.in:1.1.1.2 Sun May 24 18:38:29 1998
+++ gnu/egcs/gcc/configure.in Sun May 24 20:36:59 1998
@@ -1120,7 +1120,7 @@
i[[34567]]86-*-mingw32*)
tm_file=i386/mingw32.h
xm_file="${xm_file} i386/xm-mingw32.h"
- tmake_file=i386/t-cygwin32
+ tmake_file="i386/t-cygwin32 i386/t-mingw32"
extra_objs=winnt.o
xmake_file=i386/x-cygwin32
fixincludes=Makefile.in