Subject: Re: [Boost-build] bug? bultin properties not set
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-04-02 08:54:08
Oliver Kowalke wrote:
> Rene Rivera schrieb:
>> Oliver Kowalke wrote:
>>> bjam --debug-building does notcontain the builtin properites such as
>>> <architecture>, <address-model>, <instruction-set>. But <target-os>
>>> is set. Because the User Handbook doesn't tell anything why some of
>>> the bultin props are not set (props of the target os/platform) I
>>> assume it is a bug.
>>> May this be correct?
>> Those three properties you mention, architecture, address-model, and
>> instruction-set, are defined as optional. Hence they are not set by
>> default. This fits the model of compilers to have a default for those
>> that they compile to.
> Does boost.build provide functions returning the correct values or do I
> have to implement those by myself?
I'm not sure what you are asking here. Do you want some programatic way
to find out what the compilers default values are? Or do you want to
know what the possible values BBv2 has for those?
For the latter they are listed in builtin.jam
Note that the ability to actually specify those and have them take
effect in building depends on whether the toolset has mappings for them
to the corresponding compiler options. BUt you can always specify them
and then add your own options based on them.
-- -- 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