Boost logo

Boost-Build :

Subject: Re: [Boost-build] Bug: mingw gcc conflicts with native gcc
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-24 14:06:11


AMDG

Steve Soule wrote:
> 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.

Yeah. I have the same problem. I had to hack gcc.jam and
my user-config.jam to make it work.

In Christ,
Steven Watanabe


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