Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Boost.Build] Difficulties with conditional targets based on address-model
From: Steven Barbaglia (steven.barbaglia_at_[hidden])
Date: 2014-01-24 07:16:00


Hi Moritz

Thank you for your comprehensive explanation.

On 09/01/2014 17:01, Moritz Hassert wrote:
> Hi Steven,
>
> Am Freitag, den 03.01.2014, 11:04 +0000 schrieb Steven Barbaglia:
>> Invocation (used in a VS2013 x64 Cross Tools Command Prompt window):
>> b2 --toolset=msvc --address-model=64
> Please try without "--":
> "b2 toolset=msvc address-model=64"
>

My difficulties vaporised once I stopped using "--" when passing
properties on the command line.

I was surprised to discover that properties like "address-model" are not
defaulted by b2 to the value used by the compiler, which must build for
either 32 or 64 bit. I take it that b2 delegates the choice to the
compiler, which will consider the environment (eg, if it was invoked
from a 64-bit shell) when making that choice.

Regards

Steven

-----------------------------------------------------------------
Sinara builds cost-effective computer applications. We are experts in systems for financial market data, real-time transaction processing, Internet technology and relational databases. We have over 20 years' experience of providing quality IT solutions to a global client base.

http://www.sinara.com
mailto:info_at_[hidden]
+44 20 7940 7950

Disclaimer. This e-mail message (and any attachments) is confidential and may contain privileged information. It is for the intended recipient only. If you are not the intended recipient, you must not copy, distribute or use any of the information in it. If you receive this message in error please notify us as soon as possible and delete it. Copyright in this e-mail and attachments created by us belongs to Sinara Consultants Limited. Internet e-mails are not secure. Sinara does not accept responsibility for changes made to this message after it was sent. Should you communicate with anyone at Sinara by email you consent to us monitoring and reading any such correspondence.


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