Do I need to set this before I run boostrap? Because when I try to run b2.exe from a msvc (arm) command prompt, it decides that I don't have a win32 cpu-arch (which is correct) but then makes the leap that I clearly must be wanting to use g++ to compile.


From: Steven Watanabe <>
To: Larry E. Ramey <>; Boost.Build developer's and user's list <>
Sent: Monday, October 15, 2012 11:41 AM
Subject: Re: [Boost-build] cross compiling


On 10/15/2012 08:55 AM, Larry E. Ramey wrote:
> I'd like to compile for windows 8 on arm from my windows 7 machine. Can someone point me to the places in the jamfiles I'm going to need to change to clue boost in that it ought to compile arm for win8? I've got all the addons to MSVC that you need, we compile windows 8 arm and apollo all the time here. I just need to get boost clued in that it should change a few flags.

If you just need to add options, then you can
use cxxflags=... and linkflags=... on the command
line or use

using msvc : /version/ : /command/ : <cxxflags>... <linkflags>... ;

when initializing the toolset.

If it requires more substantial changes,
the logic controlling it is in tools/build/v2/tools/msvc.jam

You may also need to pass architecture=arm on the
command line.

In Christ,
Steven Watanabe