From: isaacyh (iyho_at_[hidden])
Date: 2004-04-22 18:47:21
I've gotten the boost libraries to build in 64 bit mode on Solaris by
the following command right after unpacking the tar ( from boost root ):
bjam "-sBUILD=<cxxflags>-m64 <linkflags>-m64" stage
However, the libraries appear to be flawed, and I want to run the
regression tests to determine if they are indeed so. Sadly, they fail
to compile in 64-bit mode. Basically, this is because the
boost::filesystem shared archive has its contents in 32-bit objects,
because the 64-bit ones apparently fail to build. I've traced the
failure of the 64-bit filesystem compile down to the following compile
g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -m64
-I"/home/analysis3/iyho/lib/boost_1_31_0-64" -I "
This produces the following errors:
cc1plus: -m64 is not supported by this configuration
cc1plus: -mptr32 not allowed on -m64
../../../libs/filesystem/build/../src/exception.cpp: In function
../../../libs/filesystem/build/../src/exception.cpp:79: internal error--
(insn 26 24 28 (set (reg:DI 109)
(symbol_ref:DI ("errno"))) -1 (nil)
When I switch the -m64 flag to -m32, the exception.cpp file builds fine.
Any ideas? Has anyone had success building a 64-bit version of boost on
Solaris? If so, what needed to be done?
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