Subject: [Boost-build] using --without-thread results in Boost.Thread still being built
From: McLemon, Sean (Sean.McLemon_at_[hidden])
Date: 2009-07-15 08:58:52
According to the Jamroot file if i'm to exclude some libraries from
building Boost I should use --without-<library> when invoking bjam.
However it looks like I'm doing something wrong as it seems that the
libraries I asked bjam to skip are being built. Below is what I
understood I should use if I wanted to exclude the Boost.Thread library:
$ 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:
".\boost/config/requires_threads.hpp", line 94: cc0035: catastrophic
#error directive: "Compiler threading support is not turned
Please consult your compiler's documentation for the
options to use"
# error "Compiler threading support is not turned on. Please consult
your compiler's documentation for the appropriate options to use"
1 catastrophic error detected in the compilation of
cc3089: fatal error: Compilation failed
I'm guessing that I'm not using the correct switch, perhaps
--without-Thread or --without-threads or something else is correct?
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