Boost logo

Boost-Build :

From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2006-03-28 03:32:07


I have:

alias test : test-cygwin : <toolset>gcc ;
alias test : test-win32 : <toolset>msvc ;

I get this:

warning: toolset gcc initialization: can't find tool g++
warning: initialized from
C:/code/bin/boost-build/build\targets.jam:756: in generate-really from
module object(main-target)@68
error: failed to build ./test with properties <debug-symbols>on
<inlining>off <optimization>off <runtime-debugging>on
<toolset-msvc:version>7.1 <toolset>msvc <variant>debug because no
best-matching alternative could be found
C:/code/bin/boost-build/build\targets.jam:737: in
object(main-target)@68.generate from module object(main-target)@68
C:/code/bin/boost-build\build-system.jam:291: in load from module
build-system
C:\code\bin\boost-build\kernel\modules.jam:261: in import from module
modules
C:\code\bin\boost-build\kernel\bootstrap.jam:121: in boost-build from module
C:\code\bin\boost-build.jam:6: in module scope from module

I also tried:

alias test : test-cygwin : <os>CYGWIN ;
alias test : test-win32 : <os>NT ;

I get similar log with this too. So how do I get boost-build to select
alternatives based on the host OS or the toolset -- either one will work for
me, at least for now...

Thanks,
Emil


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