Boost logo

Boost-Build :

Subject: Re: [Boost-build] Invoking compiler in user-config.jam even when toolset is different compiler
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-08-13 10:35:57


On 8/13/2014 12:13 AM, Vladimir Prus wrote:
> On 08/13/2014 06:40 AM, Edward Diener wrote:
>> I have a line in my user-config.jam of:
>>
>> using clang : :
>> C:/Programming/VersionControl/bninja_installed_clang/bin/clang++.exe ;
>>
>> in order to use clang as a toolset in Windows. Yet if I invoke bjam with:
>>
>> b2 toolset=gcc-4.8.1
>>
>> in some modular-boost directory. Boost Build still ends up testing the
>> clang++.exe executable in my user-config.jam for some reason.
>>
>> Why is that and can this test of clang be eliminated in Boost Build
>> since it is not clang I am invoking as my toolset ?
>
> What is the output of --debug-configuration ?

The output running:

b2 --debug-configuration toolset=gcc-4.8.1

is:

> notice: found boost-build.jam at C:/Programming/VersionControl/modular-boost/boost-build.jam
> notice: loading Boost.Build from C:/Programming/VersionControl/modular-boost/tools/build/src
> notice: Searching 'C:\Windows' 'C:\Users\eldiener' 'C:\Users\eldiener' 'C:\Users\eldiener' 'C:\Programming\VersionControl\modular-boost\tools/build/src' 'C:/Programming/VersionControl/modular-boost/tools/build/src/kernel' 'C:/Programming/VersionControl/modular-boost/tools/build/src/util' 'C:/Programming/VersionControl/modular-boost/tools/build/src/build' 'C:/Programming/VersionControl/modular-boost/tools/build/src/tools' 'C:/Programming/VersionControl/modular-boost/tools/build/src/contrib' 'C:/Programming/VersionControl/modular-boost/tools/build/src/.' for site-config configuration file 'site-config.jam'.
> notice: Loading site-config configuration file 'site-config.jam' from 'C:/Users/eldiener'.
> notice: Searching 'C:\Users\eldiener' 'C:\Users\eldiener' 'C:\Users\eldiener' 'C:\Programming\VersionControl\modular-boost\tools/build/src' 'C:/Programming/VersionControl/modular-boost/tools/build/src/kernel' 'C:/Programming/VersionControl/modular-boost/tools/build/src/util' 'C:/Programming/VersionControl/modular-boost/tools/build/src/build' 'C:/Programming/VersionControl/modular-boost/tools/build/src/tools' 'C:/Programming/VersionControl/modular-boost/tools/build/src/contrib' 'C:/Programming/VersionControl/modular-boost/tools/build/src/.' for user-config configuration file 'user-config.jam'.
> notice: Loading user-config configuration file 'user-config.jam' from 'C:/Users/eldiener'.
> notice: Boost.Book: searching XSL/DTD in
> notice: C:\Programming\VersionControl\modular-boost\tools\boostbook C:\Programming\VersionControl\modular-boost\tools\boostbook
> notice: BoostBook: found docbook XSL stylesheets in: C:\Utilities\Docbook\xsl
> notice: BoostBook: found docbook DTD in: C:\Utilities\Docbook\xml
> notice: BoostBook: found boostbook XSL stylesheets in: C:\Programming\VersionControl\modular-boost\tools\boostbook\xsl
> notice: BoostBook: found boostbook DTD in: C:\Programming\VersionControl\modular-boost\tools\boostbook\dtd
> notice: using doxygen :
> notice: [python-cfg] Configuring python...
> notice: [python-cfg] user-specified version: "2.7"
> notice: [python-cfg] user-specified cmd-or-prefix: "C:/Utilities/Python278_32"
> notice: [python-cfg] Registry indicates Python 2.7 installed at "C:\Utilities\Python278_32\"
> notice: [python-cfg] Checking interpreter command "C:/Utilities/Python278_32\PCBuild8\python"...
> notice: [python-cfg] running command 'C:/Utilities/Python278_32\PCBuild8\python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
> notice: [python-cfg] ...does not invoke a working interpreter
> notice: [python-cfg] Checking interpreter command "C:/Utilities/Python278_32\PCBuild\python"...
> notice: [python-cfg] running command 'C:/Utilities/Python278_32\PCBuild\python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
> notice: [python-cfg] ...does not invoke a working interpreter
> notice: [python-cfg] Checking interpreter command "C:/Utilities/Python278_32\python"...
> notice: [python-cfg] running command 'DIR /-C /A:S "C:\Utilities\Python278_32\python.exe" 2>&1'
> notice: [python-cfg] running command 'C:/Utilities/Python278_32\python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
> notice: [python-cfg] ...requested configuration matched!
> notice: [python-cfg] Details of this Python configuration:
> notice: [python-cfg] interpreter command: "C:/Utilities/Python278_32\python"
> notice: [python-cfg] include path: "C:\Utilities\Python278_32\Include"
> notice: [python-cfg] library path: "C:\Utilities\Python278_32\libs"
> notice: [python-cfg] DLL search path: "C:\Utilities\Python278_32"
> notice: [msvc-cfg] msvc-12.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe'
> notice: [msvc-cfg] msvc-11.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe'
> notice: [msvc-cfg] msvc-10.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe'
> notice: [msvc-cfg] msvc-9.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe'
> notice: [msvc-cfg] msvc-8.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.exe'
> notice: will use 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe' for msvc, condition <toolset>msvc-12.0
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>/<address-model>', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>/<address-model>32', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>x86/<address-model>', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>x86/<address-model>32', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>/<address-model>64', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>x86/<address-model>64', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>ia64/<address-model>', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_ia64 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>ia64/<address-model>64', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_ia64 >nul
> '
> notice: [msvc-cfg] condition: '<toolset>msvc-12.0/<architecture>arm/<address-model>32', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_arm >nul
> '
> notice: will use 'C:/Programming/VersionControl/bninja_installed_clang/bin/clang++.exe' for clang-linux, condition <toolset>clang-linux-3.5.0
> notice: Searching '../../..' for project-config configuration file 'project-config.jam'.
> notice: Loading project-config configuration file 'project-config.jam' from '../../..'.
> notice: [cmdline-cfg] toolset gcc-4.8.1 not previously configured; attempting to auto-configure now
> warning: toolset gcc initialization: can not find tool g++-4.8.1
> warning: initialized from
> notice: will use 'g++' for gcc, condition <toolset>gcc-4.8.1-mingw
> notice: using gcc libraries :: <toolset>gcc-4.8.1-mingw :: C:\mingw/bin C:\mingw/lib C:\mingw/lib32 C:\mingw/lib64
> warning: toolset gcc initialization: can not find tool c:/mingw/mingw32/bin/ar.exe
> warning: initialized from
> notice: using gcc archiver :: <toolset>gcc-4.8.1-mingw :: c:/mingw/mingw32/bin/ar.exe
> warning: toolset gcc initialization: can not find tool c:/mingw/mingw32/bin/ranlib.exe
> warning: initialized from
> notice: using gcc ranlib :: <toolset>gcc-4.8.1-mingw :: c:/mingw/mingw32/bin/ranlib.exe
> notice: using rc compiler :: <toolset>gcc-4.8.1-mingw :: C:\mingw\bin\windres.exe
> notice: [zlib] Using pre-installed library
> notice: [zlib] Condition
> notice: iostreams: not using bzip2 compression
> notice: iostreams: not using bzip2 compression
> Performing configuration checks
>
> - symlinks supported : yes
> ...patience...
> ...found 732 targets...


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