Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-08-28 08:18:42


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.

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 ;

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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