Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-07 02:29:45


Ian Fasel wrote:
> I've noticed that if I specify
> using gcc
> in user-config then Boost attempts to use gcc even if
> I specify darwin on the command line, so
> bjam release toolset=darwin
> produces errors as shown below. However, if I specify
> "using darwin" in user-config.jam, then
> bjam release toolset=gcc
> works correctly when I am on a linux machine.
>
> Its minor of course, but the inconsistency can be a
> slight annoyance when rapidly going back and forth
> between platforms to test changes.

Hi Ian,

I think the reason is simple: somewhere in Boost tree, or somewhere else,
there's "import gcc". So "toolset=gcc" works even without explicit "using
gcc" in user-config.jam.

I think I've cleaned this for Boost, but I've added a todo to look again when
we start moving Boost to V2.

Thanks,
Volodya

 


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