|
Boost Users : |
From: Lothar Werzinger (lothar_at_[hidden])
Date: 2008-08-12 13:46:16
On Tuesday 12 August 2008, Pearl Rothman wrote:
> How can I build 64 bit boost libraries on Linux, preferably using gcc?
we use an automatically generated user-config.jam to control the gcc version
and the build flags. This allows us to build 32 bit and 64 bit versions
for 64 bit we set
flag=-m64
for 32 bit we set
flag=-m32
cat >user-config.jam <<@@END@@
# Boost.Build Configuration
# Automatically generated by ${scriptname}
# Compiler configuration
using gcc : : ${GCC_BASEDIR}/g++-${GCCVERSION} : <compileflags>${flag}
<compileflags>-I${buildprefix}/include <compileflags>-L${buildprefix}/lib
<linkflags>${flag} <linkflags>-L${buildprefix}/lib ;
@@END@@
Lothar
-- Lothar Werzinger Dipl.-Ing. Univ. framework & platform architect Tradescape Inc. - Enabling Efficient Digital Marketplaces 1754 Technology Drive, Suite 128 San Jose, CA 95110 web: http://www.tradescape.biz
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