Boost logo

Boost-Build :

Subject: [Boost-build] MinGW toolchain configuration
From: Roman Matsybora (matsic_at_[hidden])
Date: 2013-02-22 09:21:14


('binary' encoding is not supported, stored as-is) I want to setup different mingw toolchains in my system.
In user-config.jam i wroute a line
    using gcc : 4.4 : "set PATH=C:/mingw-4.4-32/bin;%PATH% && g++.exe" ;

but it cannot work:

[console]
>> b2 toolset=gcc-4.4
D:/local/share/boost-build/tools\gcc.jam:78: in gcc.init from module gcc
error: toolset gcc initialization:
error: provided command 'set PATH=C:/mingw-4.4-32/bin;%PATH% && g++.exe ' not found
error: initialized from <HOME>\user-config.jam:5
D:/local/share/boost-build/build\toolset.jam:39: in toolset.using from module toolset
D:/local/share/boost-build/build\project.jam:898: in using from module project-rules
<HOME>\user-config.jam:5: in modules.load from module user-config
D:/local/share/boost-build\build-system.jam:257: in load-config from module build-system
D:/local/share/boost-build\build-system.jam:399: in load-configuration-files from module build-system
D:/local/share/boost-build\build-system.jam:555: in load from module build-system
D:\local\share\boost-build\kernel\modules.jam:283: in import from module modules

D:\local\share\boost-build\kernel\bootstrap.jam:142: in boost-build from module
D:\local\share\boost-build\boost-build.jam:8: in module scope from module
[/console]

what to do if PATH variable need custom setup for different GCC?


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