From: David Abrahams (dave_at_[hidden])
Date: 2004-05-30 06:31:01
Michael Stevens <Michael.Stevens_at_[hidden]> writes:
> On Friday 28 May 2004 20:10, David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> >> > The syntax is not correct, the right one is:
>> >> > : <toolset>intel,<toolset-intel:platform>linux:<cxxflags>TEST
>> That frightens me too. Is linux a subfeature of <toolset>intel?!
>> Shouldn't we have a <target-platform> feature at the top level?
> This seems like a much more agreeable syntax. I assume you meant
> meaning that the feature 'toolset' must have the value 'intel' and the
> subfeature 'linux' has the value 'linux'
No! AFAIK, that's what we havef today.
<target-platform>linux # building objects for linux
<toolset>intel # using an intel compiler
The target platform and the compiler are orthogonal; I see no reason
to bind them together. At some point you might want to do
cross-compilation... so it's not clear whether intel's different
options should be associated with the source-platform or the
target-platform, since they don't support cross-compilation (yet).
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
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