Boost logo

Boost-Build :

Subject: [Boost-build] Cross compiling boost (context, coroutine, filesystem, and system libraries) on ubuntu 64-bit for windows 32-bit (running on intel atom e3845 that is x86-64 bit)
From: Jack Kumba (kjack2151_at_[hidden])
Date: 2017-01-31 12:55:13


Hello,

I want to cross compile context, coroutine, filesystem, and system
libraries of boost for
windows 32-bit (running on Intel Atom E3845) on my ubuntu 64-bit.

To do that, I create a user-config.jam file in my homedirecotry and put the
following:
using gcc : mingw : i686-w64-mingw32-g++ : <compileflags>-m32
<linkflags>-m32 ;

then, I would like to run following command:
b2 --with-context --with-coroutine --with-system --with-filesystem
--prefix=/home/jagdish/COMMELEC/prerequisits/real_boost_installation_dir/
toolset=gcc-mingw target-os=windows variant=release link=static
address-model=32 runtime-link=static threading=multi architecture=x86
instruction-set=x86 abi=ms install

is it good? Specifically, the options architecture, instruction-set,
address-model?

thanks in advance for your help.

best,
jack



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