Boost logo

Boost-Build :

Subject: [Boost-build] specifying address model in user-config.jam ?
From: firespot71 (firespot71_at_[hidden])
Date: 2013-11-18 01:28:32


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 ;



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