This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: GCC-3.0.4 (pre) on AIX requires pthreads
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: Michael Veksler <VEKSLER at il dot ibm dot com>, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 20 Feb 2002 16:15:58 -0500
- Subject: Re: GCC-3.0.4 (pre) on AIX requires pthreads
>>>>> Phil Edwards writes:
Phil> That doesn't sound quite correct.
Phil> libstdc++ uses whatever gets printed after "Thread model:" in the output of
Phil> "gcc -v". We do not check for "pthread" IIRC.
Phil> Have you tried "--enable-threads=aix"? What do you normally do to get
Phil> gthr-aix.h to be used?
I am sorry that it does not sound correct, but that is what
happens. GCC configure *AUTOMATICALLY* sets the thread model to "AIX" by
setting thread_file='aix' in gcc/config.gcc. --enable-threads=aix is
already done implicitly. Period. End of that discussion. Go read the
source if you disagree.
libstdc++ trying to treat AIX as either "posix" or "single" in a
multilib is what is coming back to haunt us. Objective C uses gthr-aix.h,
but libtsdc++ does not.
David