Boost logo

Boost-Build :

Subject: [Boost-build] Build environment for building boost libraries for WindowsME 6
From: Benjamin Fabricius (benjamin.fabricius.leica_at_[hidden])
Date: 2012-08-14 06:32:41


I had difficulties building some boost libraries (system, thread,
date_time, regex) I use in an API project for devices running Windows
Mobile 6 / Windows CE. As I found close to no information on how to get the
libs built for this platform and I struggled for a couple days to get this
working, I would like to share my build environment as a reference for
people with similar problems.

Kudos go to David Deakins who had posted a build environment from which I
got an initial idea of how to set up my environment (here

Below I have included my *user-config.jam *and my environment setup batch
file* cesetup.bat*. I also enclosed a bit of info on host and target
systems used and the call i used to b2.exe.

*Build Info:*

   - Host OS: Windows 7 SP1 (32-bit)
   - Target OS: Windows Mobile Professional 6.1
   - Target CPU: Marvell PXA310 806MHz (ARMv5 XScale arch)
   - Toolset: msvc-9.0~wm6 using stdlib stlport-5.2.1~wm6 for arm
   - SW Versions used:
      - Boost v1.4.7
      - STLPort 5.2.1
      - Windows Mobile 6 SDK (for ARMv4I)


using msvc : 9.0~wm6 :
    "cl.exe" :

using stlport : 5.2.1~wm6 :
    C:/some/path/here/stlport_5_2_1/stlport :

*Environment setup*
@echo off
echo Environment Selection:Windows Mobile 6 Professional SDK (ARMV4I)
set PATH=C:\Program Files\Microsoft Visual Studio
9.0\VC\ce\bin\x86_arm;C:\Program Files\Microsoft Visual Studio
set INCLUDE=C:\Program Files\Microsoft Visual Studio
9.0\VC\ce\include;C:\Program Files\Windows Mobile 6
SDK\PocketPC\include\ARMV4I;C:\Program Files\Windows Mobile 6
SDK\PocketPC\include;C:\Program Files\Microsoft Visual Studio
9.0\VC\ce\atlmfc\include;\SmartDevices\SDK\SQL Server\Mobile\v3.0
set LIB=C:\Program Files\Windows Mobile 6
SDK\PocketPC\lib\ARMV4I;C:\Program Files\Microsoft Visual Studio
9.0\VC\ce\atlmfc\lib\ARMV4I;C:\Program Files\Microsoft Visual Studio

*Command line:*
b2 --debug--configuration --debug-building -d+2 \
variant=release toolset=msvc-9.0~wm6 \
--with-system \
--with-thread \
--with-date_time \
--with-regex \

Hope this can help some people out there.

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