Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-08-28 11:26:01


[2003-08-28] David Abrahams wrote:

>
>Hi Rene,
>
>I think refactoring mingw-tools broke something. I have this
>toolset, which I call mingw-2.0-tools.jam:
>
> {
> local MINGW_ROOT_DIRECTORY = c:/tools/mingw-2.0 ;
> extends-toolset mingw ;
> }
>
>and this one, which I call gcc2-tools.jam:
>
> {
> local GXX = g++-2 ;
> local GCC = gcc-2 ;
> extends-toolset gcc ;
> }
>
>When I invoke bjam with -sTOOLS="mingw-2.0 gcc gcc2" I get the
>following error:
>
>gcc-C++-action
>c:\build\libs\iterator\test\bin\iterator_traits_test.test\gcc2\debug\runtime-
> link-dynamic\iterator_traits_test.obj
>'c:/tools/mingw-2.0/bin/\g++-2' is not recognized as an internal or
external command,
>operable program or batch file.
> c:/tools/mingw-2.0/bin/\g++-2 -c -Wall -ftemplate-depth-100 -g -O0
-fno-inline
>-I"
> c:\build\libs\iterator\test" -I "c:\boost" -o
>"c:\build\libs\iterator\test\bin\iterato
>
r_traits_test.test\gcc2\debug\runtime-link-dynamic\iterator_traits_test.obj"
>"../../uti
> lity/iterator_traits_test.cpp"
>
>In other words, it tries to use the MINGW_ROOT_DIRECTORY with the
>gcc2 toolset.

Interesting that it's not a problem with the mingw changes but that it shows
a problem with "set-as-singleton". I "fixed" the problem with it, by
commenting out the offending code. But we'll have to wait and see if it
causes other problems, 'cause I don't remember why I did, what I did :-)

>BTW, I think these have no effect, since they're never used:
>
> flags mingw MINGW_BIN_DIRECTORY ;
> flags mingw MINGW_INCLUDE_DIRECTORY ;
> flags mingw MINGW_STDLIB_DIRECTORY ;

Cleaned that up also ;-)

-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq

 


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