Subject: Re: [Boost-build] possible bug when cross compiling linux->windows
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-09-27 14:09:44
On 9/27/2010 11:56 AM, Vladimir Prus wrote:
> In theory, we can even add toolset property to the mix. So that, if
> you specify
> bjam target-os=windows
> and you have msvc configured in user-config.jam, it will get used.
> This, however, requires that all properties involved in such special
> selection do not have a default value, since otherwise by the
> time we reach targets.common-properties, we don't know which
> properties are explicitly specified by the user and which are defaulted.
> What do you think?
I somewhat already do that with the darwin toolset for picking out the
correct one based on the architecture+target-os properties:
using darwin : 4.2~iphone
: <architecture>arm <target-os>iphone
using darwin : 4.2~iphonesim
: <architecture>x86 <target-os>iphone
Trough the use of toolset requirements.. But I still have to specify the
toolset=darwin. Is that what you are referring to?
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
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