|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-04-10 06:45:48
Toon Knapen <toon.knapen_at_[hidden]> writes:
> On Thursday 10 April 2003 12:12, John Maddock wrote:
>> BTW what happens if you compile with <threading>multi ?
>
> g++: unrecognized option '-pthread'
>
> and afterwards the same errors. The gcc I'm using is one compiled by
> HP (I just downloaded the .depot and installed it) and gcc --version
> gives me
>
> gcc (GCC) 3.2 20020329 (experimental)
>
> The man pages also mention the '-pthread' option. Is it possible
> that the gcc provided by HP does not support pthreads while the
> OS does ?
IIRC, the OS doesn't *fully* support pthreads, but it supports enough
to warrant enabling BOOST_HAS_PTHREADS so we can see which parts of
the threading library work. That's why I turned on
BOOST_HAS_PTHREADS for HP. If it's causing more problems than it's
solving, we should probably just turn it off.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk