Boost logo

Boost-Build :

Subject: Re: [Boost-build] Wrong target-os with cross-compiler
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-04-25 13:09:50

On 4/23/2010 7:38 PM, 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.

This is intentional.

> Shouldn't Boost Build figure out the default target-os automatically?

It does.. But it defaults to target-os == host-os. Perhaps you are
thinking of some other useful default? If so, how would we automatically
know to pick that other default?

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ (msn) - grafik/
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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