How can I build 64 bit boost libraries on Linux, preferably using gcc?
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
participants (3)
-
Lothar Werzinger
-
Pearl Rothman
-
Vladimir Prus