Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2002-03-30 06:57:56


> gcc3 does have a -pthreads argument! I just stole the
> argument from the gcc-tools jam file - this will need to
> be fixed.

It's been fixed in the cvs for a while.

>
> > For gcc 2.95 -pthreads is the same as:
> > CXXFLAGS=-D_REENTRANT -D_PTHREADS
> > LIBS=-lpthread
>
> Don't know if gcc3 will have the same problems with
> stdexcept.

I hope not, but us know.

BTW you can tell if your gcc3 build is multithread enabled or not, by doing:

gcc -v

which will print out the threading model (if any), as well as the spec file
location and version number.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net