Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-03 01:25:51


On Tuesday 03 May 2005 00:49, BRIDGES Dick wrote:
> Host system is RedHat Fedora and I've clearly angered bjam because, not
> matter how I try to compile threads, I get the following:
....
> /usr/local/boost_1_32_0/boost/config/requires_threads.hpp:47:5: #error
> "Compiler threading support is not turned on. Please set the correct
> command line options for threading: -pthread (Linux), -pthreads
> (Solaris) or -mthreads (Mingw32)"
...
> user-config.jam contains everything I could think of:
...
> using gcc : 3.4arm : /my_path/bin/arm-softfloat-linux-gnu-c++ : \
>
> <cxxflags>-I/my_path/include/c++/3.3.3/ \
>
> <cxxflags>-I/my_path/include/c++/3.3.3/arm-softfloat-linux-gnu/bits/ \
>
> <compileflags>-pthread \
>
> <compileflags>-DBOOST_HAS_THREADS \
>
> <linkflags>-L/my_path/lib \
>
> <linkflags>-L/my_path/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.3 \

Do compile commands (shown with "bjam -n") contain all of the above settings?
If yes, then I suspect something is wrong with thread detection for
cross-compiling. In fact, I can't figure out where "requires_threads.hpp" is
included from.

If some flags are missing, this could be a bug in Boost.Build.

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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