This is the mail archive of the
mailing list for the GCC project.
Re: GCC-3.0.4 (pre) on AIX requires pthreads
- From: "Michael Veksler" <VEKSLER at il dot ibm dot com>
- To: Craig Rodrigues <rodrigc at attbi dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 20 Feb 2002 18:08:57 +0200
- Subject: Re: GCC-3.0.4 (pre) on AIX requires pthreads
On 20-02-2002 15:55:09, Craig Rodriguess wrote:
> On Wed, Feb 20, 2002 at 10:51:53AM +0200, Michael Veksler wrote:
> > For some reason, on AIX 4.3.3, g++ requires -lpthreads while linking
> > I did not try ../gcc/configure --without-multilib (it will probably
> > it).
> Did you configure with --enable-threads, as specified in
> the documentation at: http://gcc.gnu.org/install/configure.html
No, I configured it with --enable-languages=c++ and --prefix, nothing more.
According to the documentation:
"In general, the best ... threading model available will be configured for
No word about having to use "--enable-threads". Even the
"--enable-threads=lib" section does not hint anything about
single threaded mode (which is all I need for now). All it says is
that if I want to use threading, I can choose between several models.
So, should I configure --enable-threads? And if so this is a regression of
the documentation from gcc-2.95 ;-).