Boost C++ Libraries: Ticket #142: Build config for gcc: GCC and GXX variables broken https://svn.boost.org/trac10/ticket/142 <pre class="wiki"> I am on Linux (Red Hat 7.3) using GCC. I have a CVS build of GCC installed in an unusual directory, and I want to tell bjam to use that compiler. So I ran ./bjam -sGCC_ROOT_DIRECTORY=/lpr/wearables -sGCC=gcc-3.3 -sGXX=g++-3.3 boost_thread But bjam tries to use "/lpr/wearables/bin/g++" instead of "/lpr/wearables/bin/g++-3.3", which is what I expected: ----------------- /lpr/wearables/bin//g++ -c -Wall -ftemplate-depth-100 -DBOOST_THREAD_BUILD_DLL=1 -g -O0 -fno-inline -pthread -fPIC -I"libs/thread/build" -I "/home/reed/boost_1_30_0" -o "libs/thread/build/bin/libboost_thread.so/gcc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o" "libs/thread/build/../src/condition.cpp" /bin/sh: /lpr/wearables/bin//g++: No such file or directory ...failed gcc-C++-action libs/thread/build/bin/libboost_thread.so/gcc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o... gcc-C++-action libs/thread/build/bin/libboost_thread.so/gcc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/mutex.o ------------------ Even doing something silly like: ./bjam -sGXX=xlogo -sGCC=xlogo causes bjam to use the default g++. So I get the feeling that bjam is not honoring the GXX or GCC variables (The documentation that led me to use them is here: http://www.boost.org/tools/build/gcc-tools.html) Thanks reed </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/142 Trac 1.4.3 René Rivera Wed, 28 May 2003 16:24:43 GMT status changed https://svn.boost.org/trac10/ticket/142#comment:1 https://svn.boost.org/trac10/ticket/142#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=33595 Already fixed in CVS version of gcc-tools.jam version 1.67 and above: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/tools/build/gcc-tools.jam.diff?r1=1.66&amp;r2=1.67 </pre> Ticket