Boost logo

Boost-Build :

Subject: [Boost-build] Bug: mingw gcc conflicts with native gcc
From: Steve Soule (sts11dbxr_at_[hidden])
Date: 2010-04-23 20:20:28


On my Suse Linux 11.2 x86_64 machine, I have both the native gcc
installed and the MinGW windows cross-compiler installed. Both work
fine with Boost and Boost Build. For native building, I use the
following user-config.jam:

using gcc : x86_64 ;

For windows cross-compiling, I use the following user-config.jam:

using gcc : mingw : /usr/bin/i686-pc-mingw32-g++ ;

Each of these works fine. But when I merge the two together to produce
a user-config.jam for both, neither works. If I do:

bjam toolset=gcc

it tries to compile using:

"g++" "/usr/bin/i686-pc-mingw32-g++"

If I do:

bjam toolset=gcc-mingw

it tries to compile using:

"/usr/bin/i686-pc-mingw32-g++" "g++"

Since it works fine with just one or the other but not both in my
user-config.jam file, I'm pretty sure this is a bug.


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