Building boost 1.33.1 with Comeau 4.3.3
I'm having problems trying to build boost 1.33.1 with comeau 4.3.3 on Linux. Firstly, I verified that the como compiler is working by creating a 'hello world' test program, and building it with the como compiler and running it. I tried to build Boost using the information at http://www.boost.org/tools/build/v1/como-tools.html For example, $ tar -xjf boost_1_33_1.tar.bz2 $ cd boost_1_33_1 $ bjam -sTOOLS=como -sCOMO_PATH=/cc -sCOMO_INCLUDE_PATH=/cc/lib -sCOMO_STDLIB_PATH=/cc stage This results in numerous errors: Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). **** wide char i/o not supported by libcomo standard library **** **** skipping build of <@boost!libs!serialization!build>libboost_wserialization.a; toolset= como variant= debug **** **** wide char i/o not supported by libcomo standard library **** **** skipping build of <@boost!libs!serialization!build>libboost_wserialization.a; toolset= como variant= release **** **** DLLs cannot be built with this compiler **** **** skipping build of <@boost!libs!serialization!build>libboost_serialization.so; toolset= como variant= debug **** **** DLLs cannot be built with this compiler **** **** skipping build of <@boost!libs!serialization!build>libboost_serialization.so; toolset= como variant= release **** **** wide char i/o not supported by libcomo standard library **** **** DLLs cannot be built with this compiler **** **** skipping build of <@boost!libs!serialization!build>libboost_wserialization.so; toolset= como variant= debug **** **** wide char i/o not supported by libcomo standard library **** **** DLLs cannot be built with this compiler **** **** skipping build of <@boost!libs!serialization!build>libboost_wserialization.so; toolset= como variant= release **** ...patience... ...patience... ...patience... ...found 6796 targets... ...updating 789 targets... MkDir1 stage MkDir1 stage/lib MkDir1 bin MkDir1 bin/boost MkDir1 bin/boost/libs MkDir1 bin/boost/libs/regex MkDir1 bin/boost/libs/regex/build MkDir1 bin/boost/libs/regex/build/libboost_regex.so MkDir1 bin/boost/libs/regex/build/libboost_regex.so/como MkDir1 bin/boost/libs/regex/build/libboost_regex.so/como/debug como-C++-action bin/boost/libs/regex/build/libboost_regex.so/como/debug/c_regex_traits.o Comeau C/C++ 4.3.3 (Oct 24 2003 16:00:23) for RedHat_LINUX_INTEL_ELF Copyright 1988-2003 Comeau Computing. All rights reserved. MODE:strict errors C++ "/cc/lib/stl_tempbuf.h", line 53: error: identifier "INT_MAX" is undefined if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) ^ "/cc/lib/stl_tempbuf.h", line 101: error: identifier "INT_MAX" is undefined if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) ^ "/cc/lib/limits", line 205: error: identifier "CHAR_BIT" is undefined __STL_DECLARE_LIMITS_MEMBER(int, ^ (etc!) Am I doing something stupid? For what it's worth, I've been using boost with gcc for quite some time now with no problems, but decided to give it a try with comeau, but no luck yet. I have searched online for solutions to this, but couldn't find any solutions that work for me.
Pooyan McSporran wrote:
I'm having problems trying to build boost 1.33.1 with comeau 4.3.3 on Linux.
**** wide char i/o not supported by libcomo standard library **** **** skipping build of <@boost!libs!serialization!build>libboost_wserialization.a; toolset=
Am I doing something stupid? For what it's worth, I've been using boost with gcc for quite some time now with no problems, but decided to give it a try with comeau, but no luck yet.
Speaking for the serialization library - I've been unable to build the wide character version of the the archives with the como implementation of the standard library. So the Jamfile skips this library and emits the above message.
I have searched online for solutions to this, but couldn't find any solutions that work for me
You could tweak the Jamfile to not skip build of the wide char libraries and thier corresponding tests. When I do this I get some problems I'm not able to solve. If you do this and are able to solve the problems, let me know and we'll roll in the fixes. BTW, I've tested comeau 4.3.3 on windows/XP with VC 7.1 backend. However, to do this I had to comment out part of the test library to avoid a linking problem. Robert Ramey
Hmmm... at least part of the problem is that my Comeau compiler is no longer properly installed (upgraded g++ underneath it from 3.3x to 3.4.x which seems to have confused como). I'll try and fix this before I bother people any further :)
participants (2)
-
Pooyan McSporran
-
Robert Ramey