Boost logo

Boost-Build :

Subject: Re: [Boost-build] using --without-thread results in Boost.Thread still being built
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-15 09:08:47


On Wednesday 15 July 2009 McLemon, Sean wrote:

> $ bjam link=static toolset=bfin target-os=elf --without-thread
> threading=single runtime-link=static stage
...
> And below is a snippet from my build output indicating that we've
> attempted to build Boost.Thread:
...
> I'm guessing that I'm not using the correct switch, perhaps
> --without-Thread or --without-threads or something else is correct?

The --show-libraries option will give a list of things that can be passed
to --with and --without options. From that output, it seems that

        --without-thread

is the correct spelling. However, some other libraries might still depend
on thread, in particular, the wave library does. So, you need --without-wave
as well. In general, the --debug-building option may be use to figure what
has triggered a build of specific target.

HTH,
Volodya


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