|
Boost Users : |
From: Dale Peakall (dale.peakall_at_[hidden])
Date: 2002-03-29 09:23:58
Sorry for previous straight reply, you no when you've been
outlooked :-(
> > Intriguing, as gcc-3.0.3 doesn't have a -pthread argument.
> > I believe you specify the threading model with a configure
> > argument when building gcc now (although I just grabbed
> > pre-built binaries, so I may be wrong).
>
> I don't know about gcc3, but the way to tell is to do a
>
> gcc -dumpspecs | less
>
> and then search for "thread",
>
> BTW gcc2.95 doesn't have -pthread either: it's spelt
> -pthreads, note the trailing 's' it makes a difference!
gcc3 does have a -pthreads argument! I just stole the
argument from the gcc-tools jam file - this will need to
be fixed.
> 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.
- Dale.
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