This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PATCH: Re: Problem with EGCS 1.0.2 & LIBSTDC++
- To: hjl at lucon dot org (H.J. Lu)
- Subject: PATCH: Re: Problem with EGCS 1.0.2 & LIBSTDC++
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Mon, 2 Mar 1998 15:50:32 -0800 (PST)
- Cc: g dot thomas at opengroup dot org, egcs at cygnus dot com
- References: <3.0.5.32.19980302165300.007eb9b0@mail.lauterbach.com> from"Franz Sirl" at Mar 2, 98 04:53:00 pm
Hi,
the appended patch does the trick for me (in addition to
<http://www.cygnus.com/ml/egcs-bugs/1998-Feb/0330.html>). Probably Richard
should check the correct behaviour for alpha*-*-linux-gnulibc1.
Bye,
Franz.
Tue Mar 02 00:23:00 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
* config/linuxlibc1.mt: new file, define -D_PTHREADS
* configure.in: use linuxlibc1.mt for powerpc*-*-linux-gnulibc1
--- /dev/null Tue Jan 1 05:00:00 1980
+++ libstdc++/config/linuxlibc1.mt Tue Mar 3 00:59:12 1998
@@ -0,0 +1,2 @@
+# tell we want the mt-safe version
+MT_CFLAGS = -D_PTHREADS
--- libstdc++/configure.in~ Tue Mar 3 01:03:26 1998
+++ libstdc++/configure.in Tue Mar 3 01:03:50 1998
@@ -58,7 +58,7 @@
# Make sure the right flags are defined for multi-threading.
case "${target}" in
alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
- powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
+ powerpc*-*-linux-gnulibc1) frags="${frags} linuxlibc1.mt" ;;
*-*-linux-gnu) frags="${frags} linux.mt" ;;
m68k-motorola-sysv) frags="${frags} delta.mt" ;;
esac
Ciao,
Franz.
--
--------------------------------------------------------------------------
URLs <mailto:Franz.Sirl@munich.netsurf.de>
<http://homepages.munich.netsurf.de/Franz.Sirl>
--------------------------------------------------------------------------