Boost logo

Boost-Build :

Subject: Re: [Boost-build] Default threading model in Linux
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2008-11-09 15:31:18


Vladimir Prus <ghost <at> cs.msu.su> writes:
> On Sunday 09 November 2008 20:54:10 Joaquin M Lopez Munoz wrote:
> > threading=multi runtime-link=static
> > Skipping build of: ./foo_test <build>no in common properties
> >
> > threading=single runtime-link=static
> > Skipping build of: ./foo_test <build>no in common properties
>
> This is how C++ Boost's Jamroot, currently, expresses "your properties
> are wrong, go away" opinion. You did not specify link=static, so
> the above asks for link=shared runtime-link=static and this is
> considered a risky combination. A future release of Boost will
> use slightly different mechanism here that will allow the build to
> proceed, maybe with more clear warnings.

Well, specifying link=satic does not seem to help:
threading=single runtime-link=static link=static
..\..\bin.v2\libs\foo\foo.test\msvc-8.0express\debug\link-static\
runtime-link-static\
  BOOST_HAS_THREADS defined
  BOOST_HAS_PTHREADS undefined

I really don't know what's going on, but BOOST_HAS_THREADS seems
to always be defined!

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk