Boost logo

Boost Users :

From: Boris Kolpackov (boris_at_[hidden])
Date: 2006-08-21 05:12:52


"david v" <danova_fr_at_[hidden]> writes:

> I would like to compile boost on 64 opteron arch but create the libraries in
> 32 bits mode (using -m32 cxxflags). The reason for that is that i have quite
> a lot libraries compiled in 32 that i can't port for the moment to 64.
> I'm not sure how to do that. I read about modifying user.hpp usung the
> configure script and that is what i did but it still doesn't seem to compile
> with the -m32 compiler flag.

I don't know anything about modifying user.hpp or configure scripts for
boost. I build filesystem and regex libraries from boost on a 64 bit
Debian box with this command:

$ bjam -sTOOLS=gcc -sGXX="g++ -m32"

hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

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