Boost logo

Boost Users :

From: Quantum Skyline (quantum.skyline_at_[hidden])
Date: 2006-02-15 00:46:16


Rene Rivera wrote:
> Quantum Skyline wrote:
>> -bash-3.00# ./bjam -sTOOLS=gcc --without-python --with-thread "-d+2"
>> ...
>> set -e
>> "g++" -c -Wall -ftemplate-depth-255 -DNDEBUG -DNDEBUG
>> -DBOOST_THREAD_LIB_NAME=boost_thread -DBOOST_THREAD_BUILD_DLL=1 -O3
>> -finline-functions -Wno-inline -pthread -fPIC
>> -I"bin/boost/libs/thread/build" -I "/home/quantum/boost_1_33_1" -o
>> "bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/exceptions.o"
>> "/home/quantum/boost_1_33_1/libs/thread/build/../src/exceptions.cpp"
>>
>> I've only snipped the error messages, but g++ is not my compiler. I've set
>> CXX=i386-unknown-openbsd3.8-eg++, 'cause that's what its named on OpenBSD
>> when you build a compiler from ports.
>
> I know it's not the norm. But instead of CXX you need to set "GXX" and
> "GCC" as describe here
> <http://www.boost.org/tools/build/v1/gcc-tools.html>. You can set them
> directly on the bjam invocation as "-s" options as the example shows.
>
> HTH.
>
>
>
> --
> -- Grafik - Don't Assume Anything
> -- Redshift Software, Inc. - http://redshift-software.com
> -- rrivera/acm.org - grafik/redshift-software.com
> -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Thanks Rene, that definitely solves the issue of picking up the right
compiler but I'm still getting the "threading support is not turned on"
error message.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net