From: Danny Smith Date: Sat, 15 Feb 2003 04:58:22 +0000 (+0000) Subject: mingw32.h (LIBGCC_SPEC): Add libmingwex.a. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e898926c9d597ef2cfd08f278b20ed916a18a98b;p=gcc.git mingw32.h (LIBGCC_SPEC): Add libmingwex.a. * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a. Update copyright. * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a, for -mno-cygwin case. From-SVN: r62932 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c8021cdf9ee..8372b762fcf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-02-15 Danny Smith + + * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a. + Update copyright. + * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for + -mno-cygwin case. + 2003-02-14 Falk Hueffner PR optimization/7702 diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 2419cf1cf1f..3ce7d5e34a8 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -136,7 +136,8 @@ Boston, MA 02111-1307, USA. */ by calling the init function from the prologue. */ #undef LIBGCC_SPEC -#define LIBGCC_SPEC "%{mno-cygwin: %{mthreads:-lmingwthrd} -lmingw32} -lgcc %{mno-cygwin:-lmoldname -lmsvcrt}" +#define LIBGCC_SPEC "%{mno-cygwin: %{mthreads:-lmingwthrd} -lmingw32} \ + -lgcc %{mno-cygwin:-lmoldname -lmingwex -lmsvcrt}" /* This macro defines names of additional specifications to put in the specs that can be used in various specifications like CC1_SPEC. Its definition diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 3b8cf32bed9..4431084b5a4 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -1,6 +1,7 @@ /* Operating system specific defines to be used when targeting GCC for hosting on Windows32, using GNU tools and the Windows32 API Library. - Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -91,7 +92,7 @@ Boston, MA 02111-1307, USA. */ /* Include in the mingw32 libraries with libgcc */ #undef LIBGCC_SPEC #define LIBGCC_SPEC \ - "%{mthreads:-lmingwthrd} -lmingw32 -lgcc -lmoldname -lmsvcrt" + "%{mthreads:-lmingwthrd} -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt" #undef STARTFILE_SPEC #define STARTFILE_SPEC "%{shared|mdll:dllcrt2%O%s} \