Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling Boost for 32Bit on 64Bit system
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-26 15:06:53


AMDG

Stefan Weber wrote:
> I'm heavily struggling to build Boost in 32Bit mode in a 64Bit
> environment (both, OS and CPU). The code that depends on the Boost
> libraries needs to be built with -m32 option for g++, therefore I also
> need to build Boost in 32Bit mode, right? Anyways, googling showed me
> that the following could make sense:
>
> ./tools/jam/stage/bin.linuxx86_64/bjam --toolset=gcc --with-system
> --with-thread --address-model=32 -d+2 --cxxflags=-m32
> --linkflags=-m32 stage
>

./tools/jam/stage/bin.linuxx86_64/bjam toolset=gcc --with-system
--with-thread address-model=32 -d+2 cxxflags=-m32 linkflags=-m32 stage

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