Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-21 06:44:45


Anthony Williams wrote:

> Now I've got a working bjam, I have a question about boost.build in
> general.
>
> Can I use more than one toolset at once? I enabled both gcc and msvc in
> new/user-config.jam, and then ran bjam in examples-v2/hello, and only the
> gcc binaries got built. Disabling the gcc toolset in user-config.jam and
> rerunning bjam built the msvc binaries fine.

Yes, sure! You can just run

  bjam gcc msvc

and "hello" will be built with two compilers. Several versions of the same
compiler can also be used, e.g. at my Linux box I can run

  bjam gcc-2.95 gcc-3.2 gcc

I'll see about adding this to docs.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk