Patch: Add -lmingwex to LIBGCC_SPEC for mingw32

Mohan Embar gnustuff@thisiscool.com
Tue Apr 15 20:15:00 GMT 2003


Hi People,

The following patch adds -lmingwex to LIBGCC_SPEC for
the mingw32 compiler. This allows the compiler to
build things like fastjar.exe in the gcj toolchain.

ChangeLog
2003-04-15  Mohan Embar  <gnustuff@thisiscool.com>

	* config/i386/mingw32.h: added mingwex to LIBGCC_SPEC

Index: config/i386/mingw32.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/i386/mingw32.h,v
retrieving revision 1.28
diff -u -2 -r1.28 mingw32.h
--- config/i386/mingw32.h	5 Dec 2002 23:55:15 -0000	1.28
+++ config/i386/mingw32.h	12 Apr 2003 06:57:22 -0000
@@ -23,5 +23,5 @@
    specs.  */
 
-/* Mingw GCC, unlike Cygwin's, must be relocatable. This macro must 
+/* Mingw GCC, unlike Cygwin's, must be relocatable. This macro must
    be defined before any other files are included.  */
 #ifndef WIN32_NO_ABSOLUTE_INST_DIRS
@@ -90,5 +90,5 @@
 #undef LIBGCC_SPEC
 #define LIBGCC_SPEC \
-  "%{mthreads:-lmingwthrd} -lmingw32 -lgcc -lmoldname -lmsvcrt"
+  "%{mthreads:-lmingwthrd} -lmingw32 -lmingwex -lgcc -lmoldname -lmsvcrt"
 
 #undef STARTFILE_SPEC






More information about the Gcc-patches mailing list