Boost logo

Boost-Build :

Subject: Re: [Boost-build] Wrong target-os with cross-compiler
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-24 13:54:11


Steve Soule wrote:
> My computer is running Suse Linux 11.2, and I have the MinGW gcc windows
> cross-compiler installed. But when I use the cross-compiler, Boost
> Build mistakenly sets the target-os property to "linux" instead of
> "windows". So I can't build with just:
> bjam toolset=gcc-mingw
> I have to do:
> bjam toolset=gcc-mingw target-os=windows
> Also, because the default is "linux", it adds "target-os-windows" to the
> build path.
> Shouldn't Boost Build figure out the default target-os automatically?

I don't know if this is the best way, but I have


in my user-config.jam. You can probably do something

In Christ,
Steven Watanabe

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