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]
Other format: [Raw text]

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
"fix"
> > 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
use. "
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 ;-).




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