[ooops] minor gcc patch for i386-mingw32

Mumit Khan khan@xraylith.wisc.edu
Sun May 24 18:56:00 GMT 1998


Please ignore my last posting. Sent the wrong file! 

Sun May 24 20:24:37 1998  Mumit Khan <khan@xraylith.wisc.edu>

	* Makefile.in (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.3
--- 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:47:31 1998
@@ -1325,6 +1325,9 @@
 	$(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
 
 version.o: version.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:48:08 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



More information about the Gcc-bugs mailing list