Boost logo

Boost Users :

From: Gehua Yang (yanggehua_at_[hidden])
Date: 2008-07-11 12:30:57


Hi Folks,

I am using Boost.Serialization and Boost.Thread in my project. Because
current Boost release had problems with GCC 4.3, I had to build my own Boost
libraries from a svn checkout. Fortunately, with the help from "Getting
Started Guide", I accomplished the mission with ease. The commands I used
are:
bjam --build-dir=/tmp/build-boost --toolset=gcc --build-type="release
<threading>multi <link>static <runtime-link>static" stage
bjam --build-dir=/tmp/build-boost --toolset=gcc --build-type="release
<threading>multi <link>static <runtime-link>static"
--prefix=/software/boost-20080710 install

The above produced 64-bit libraries. My question is, how I can build 32-bit
Boost libraries on the same machine? Does it take command line variables,
such as CXXFLAGS=-m32?

Thanks.
Gehua Yang



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net