Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-06 05:42:12

Hi Jürgen,

> The attached patch adds -pthread to gcc command line when
> <threading>multi is set.
> Without this, boost::thread won't compile.
> V1 already adds -pthread, so I think this is the right solution for V2,
> too.
> Without -pthread , boost.config fails to detect threading API and
> #undefs BOOST_HAS_THREADS somewhere in the depths...

Strange. Current gcc.jam has a lot of code right at the end, which is supposed
to add -pthread when needed. Do you have any idea why it's not working?

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at