This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Re: Problem with EGCS 1.0.2 & LIBSTDC++


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>
--------------------------------------------------------------------------




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]