Boost logo

Boost-Build :

Subject: [Boost-build] Wrong target-os with cross-compiler
From: Steve Soule (sts11dbxr_at_[hidden])
Date: 2010-04-23 20:38:01


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?


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