Hi all,
 
I am trying to compile Boost on following Solaris machine:
 
=> SunOS isdbuild9 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire-480R
 
I have used following command to build boost :
 
=>  ../boost-jam-3.1.12/bin.solaris/bjam -sTOOLS=gcc --libdir=./lib stage
 
I have got following error, during compilation.
 
===========================================================================================
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/debug/utf8_codecvt_facet.o
/vob/wibb_test/tools/cots/boost_1_33_1/libs/serialization/src/utf8_codecvt_facet.cpp:8:2: #error "wide char i/o not supported on this platform"
 
    set -e
    "g++"  -c -Wall -ftemplate-depth-255  -DBOOST_LIB_DIAGNOSTIC=1 -g -O0 -fno-inline -Wno-non-virtual-dtor -Wno-ctor-dtor-privacy -I"bin/boost/libs/serialization/build"  -I "/vob/wibb_test/tools/cots/boost_1_33_1" -o "bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/debug/utf8_codecvt_facet.o" "/vob/wibb_test/tools/cots/boost_1_33_1/libs/serialization/build/../src/utf8_codecvt_facet.cpp"
    "/apps/public/bin/objcopy" --set-section-flags .debug_str=contents "bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/debug/utf8_codecvt_facet.o"
 
...failed gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/debug/utf8_codecvt_facet.o...
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/debug/basic_text_wiprimitive.o
/vob/wibb_test/tools/cots/boost_1_33_1/libs/serialization/src/basic_text_wiprimitive.cpp:14:2: #error "wide char i/o not supported on this platform"
===========================================================================================
 
I tried to compile with following command too, but somehow it does not skip compilation of boost_serialization library:
 
=>    ../boost-jam-3.1.12/bin.solaris/bjam -sTOOLS=gcc --libdir=./lib --without-boost_serialization stage
 
Please let me know if you have similar issue before and aware of any solution.
 
Thanks
Priyank