List Info

Thread: Selecting different sources depending on host platform




Selecting different sources depending on host platform
user name
2006-03-28 08: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 
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Selecting different sources depending on host platform
user name
2006-03-31 13:41:58
On Tuesday 28 March 2006 12:32, Emil Dotchevski wrote:
> 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

I can't reproduce this. Either you have out-of-date
Boost.Build, or you build 
with a compiler that's neither gcc nor msvc.

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )