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:-?

--Beman

C:\boost\trunk\libs\filesystem\build>bjam --toolset=gcc-4.3 -a
docutils-dir= C:/Program Files/Python26/Lib/site-packages/docutils
tools-dir=
...patience...
...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 acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk