Boost logo

Boost-Build :

Subject: Re: [Boost-build] bug? bultin properties not set
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-04-02 09:19:56

Rene Rivera wrote:
> 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 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.

Note that I do plan to automatically set at least address-model based on discovered
information from gcc -- but this is likely to be only available for gcc.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at