Boost logo

Boost-Build :

From: Daniel Holth (dholth_at_[hidden])
Date: 2004-11-20 22:09:19


On Sat, 2004-11-20 at 15:21 +0300, Vladimir Prus wrote:

> > E.g. bjam cw-8.3 target-os=mac # os=NT
> bjam cw-8.3 host-os=NT host-os=LINUX

> > might be <os-api>, is to allow support for different APIs, e.g.:

Alright, cross compilation. Good idea! :-)

I'm trying to understand this myself. I think boost build v2 would
produce lovely win32 executables under linux if a few things change:
every toolset command gets the target platform name prepended to it
(i586-mingw32msvc-gcc) and then it looks like there are only a very few
other things that need to be detected based on the target platform
instead of the build platform. Unfortunately, I don't yet really
understand how to modify boost.build...

Two comments about this <os-api> or <target-os> business: don't forget
sometimes there is no os. Also, autotools uses the --host= argument
which basically specifies the processor and os the compiled program will
run under.

- Daniel Holth

 


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