Boost logo

Boost-Build :

Subject: [Boost-build] cygwin - mingw confusion
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-12-27 19:11:46

I've got separate cygwin and mingw installations of g++ on my machine.

user-config.jam includes these lines:

using gcc : 4.3 : g++-4 : <cxxflags>"-std=gnu++0x -Wl,--enable-auto-import" ;
using gcc : 4.4 : c:/gcc/bin/g++ : <cxxflags>"-std=gnu++0x
-Wl,--enable-auto-import" ;

If the second line is commented out, bjam --toolset=gcc-4.3 works as expected.

But if the second line is not commented out, bjam --toolset=gcc-4.3 thinks
it isrunning under mingw. See below.

Is this a bug or a feature:-?


C:\boost\trunk\libs\filesystem\build>bjam --toolset=gcc-4.3 -a
docutils-dir= C:/Program Files/Python26/Lib/site-packages/docutils
...found 437 targets...
...updating 13 targets...
common.mkdir ..\..\..\bin.v2\libs\filesystem\build\gcc-mingw-4.3
common.mkdir ..\..\..\bin.v2\libs\filesystem\build\gcc-mingw-4.3\debug

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at