Boost logo

Boost-Build :

Subject: Re: [Boost-build] MinGW toolchain configuration
From: Roman Matsybora (matsic_at_[hidden])
Date: 2013-02-25 02:54:48


('binary' encoding is not supported, stored as-is) For msvc boost-build call command file vcvarsall.bat that prepare environment
variables, but for gcc it cannot be setuped a command for preparing environment.
So, we can write "b2 toolset=msvc-10.0,msvc-11.0" but cannot use gcc this way
("b2 toolset=gcc-A,gcc-B").
Is it a bug?

> I am new to this but recently worked on a similar issue. For setting multiple
> tool chains add multiple "using" lines in user-config.jam file. I think the
> third part should be the name of the compiler you are using (If the actual
> path is present in $PATH variable) or the exact path.
>
> Eg: using gcc : power : ppc_4xx-g++
> OR
> using gcc : power : opt/ELDK/4.2/bin/ppc_4xx-g++
>
> Setting multiple $PATH can be done in the shell before calling b2 or bjam or
> write a simple shell script to set your path variables and then call b2 or
> bjam. This might be a very crude solution as I am new to this but it might
> work.
>


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