Boost logo

Boost-Build :

Subject: Re: [Boost-build] specifying address model in user-config.jam ?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-19 10:40:50


AMDG

On 11/17/2013 10:28 PM, firespot71 wrote:
> I build the boost library for VS 11, both 32- and 64-bit, using the
> "normal" b2 invocation syntax:
>
> // 32-bit:
> b2 toolset=msvc-11.0 ... [libs choice and directory options]
>
> // 64-bit:
> b2 toolset=msvc-11.0 address-model=64 ... [options]
>
>
> Fine. In tools/build/vs/user-config.jam however I only generically use
> this line specifiying the compiler:
>
> using msvc : 11.0 ;
>
> Is this line fine for both 32- and 64-bit builds with the appropriate
> options being filled-in automatically by b2, or should one explicitly
> separate between target architecture here as well, let it read
>
> using msvc : 11.0 : : <compileflags> /D "WIN32" ;
>
> using msvc : 11.0 : : <compileflags> /D "WIN64" <linkflags> /MACHINE:X64 ;
>
> respectively?
>

address-model=64 should be sufficient.

In Christ,
Steven Watanabe


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