This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Re: Problem with EGCS 1.0.2 & LIBSTDC++
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: 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 16:11:03 -0800 (PST)
- Cc: g dot thomas at opengroup dot org, egcs at cygnus dot com
- References: <v03130300b12100485a38@[195.180.235.204]> from "Franz Sirl" atMar 2, 98 03:50:00 pm
At 23:58 Uhr -0000 02.03.1998, H.J. Lu wrote:
>>
>> 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
>>
>
>-D_PTHREADS is a bad idea to begin with. Have you tried not to
>define _PTHREADS at all for powerpc*-*-linux-gnulibc1?
Yes, but the lib tests fail without _PTHREADS... Hmm, I don't have enough
insight into the thread stuff to suggest a better solution. As far as I
checked _PTHREADS is only used in /usr/include/g++/stl_config.h to define
_STL_PTHREADS. Any other suggestions?
Bye,
Franz.
Ciao,
Franz.
--
--------------------------------------------------------------------------
URLs <mailto:Franz.Sirl@munich.netsurf.de>
<http://homepages.munich.netsurf.de/Franz.Sirl>
--------------------------------------------------------------------------