Building with Sun Workshop 6
I've searched the archives, and haven't found a report of successfully building Boost using the Sun Workshop compiler, though some messages imply that people are using at least some of the libraries with Workshop. Although I realize we could build the libraries with gcc, we have quite a few projects set up in the workshop environment, and I'd like to have the option to use Boost libraries with them. Obviously nobody has built an appropriate toolset. In my naive attempts to create a toolset definiton, and in trying to create a static library from components like Date-Time library, I get error messages like: add_const.hpp, line 34: Warning: Too few arguments in macro BOOST_PP_CHECK_2. There are also errors involving BOOST_PP_LIST_FOR_EACH_I_M (among others). Can anyone offer me hints on how to get started in resolving these? Ultimately I'd like to have the whole suite compiled, but for the time being I'd be happy just using Date-Time. I'm willing to build a toolset file for this compiler, but I don't seem to have the expertise. If there's anyone that is able to provide guidance, I can put some time into this, and submit a toolset definition file so others can use Boost with this compiler.
markrday@yahoo.com wrote:
I've searched the archives, and haven't found a report of successfully building Boost using the Sun Workshop compiler, though some messages imply that people are using at least some of the libraries with Workshop.
Although I realize we could build the libraries with gcc, we have quite a few projects set up in the workshop environment, and I'd like to have the option to use Boost libraries with them. Obviously nobody has built an appropriate toolset. In my naive attempts to create a toolset definiton, and in trying to create a static library from components like Date-Time library, I get error messages like:
add_const.hpp, line 34: Warning: Too few arguments in macro BOOST_PP_CHECK_2.
There are also errors involving BOOST_PP_LIST_FOR_EACH_I_M (among others).
Can anyone offer me hints on how to get started in resolving these? Ultimately I'd like to have the whole suite compiled, but for the time being I'd be happy just using Date-Time.
I'm willing to build a toolset file for this compiler, but I don't seem to have the expertise. If there's anyone that is able to provide guidance, I can put some time into this, and submit a toolset definition file so others can use Boost with this compiler.
Try using the following pp-lib configuration: #define BOOST_PP_CONFIG_FLAGS() BOOST_PP_CONFIG_BCC() Paul Mensonides
Can anyone offer me hints on how to get started in resolving these?
Use latest cvs. It should be fixed already by Dave.
I'm willing to build a toolset file for this compiler, but I don't
There is one in tools section. I was using it to compile a lot of libraries with Sunpro 6 Gennadiy.
Can anyone offer me hints on how to get started in resolving
--- In Boost-Users@yahoogroups.com, "Gennadiy E. Rozental
Use latest cvs. It should be fixed already by Dave.
I'm willing to build a toolset file for this compiler, but I don't
There is one in tools section. I was using it to compile a lot of libraries with Sunpro 6
Assertion: (../lnk/tmplmatchargs.cc, line 153) while processing /opt/src/freeware/boost/boost/type_traits/is_base_and_derived.hpp at
Thanks, I'm just returning from a week away, so I apologize for not
maintaining the continuity of the thread. I was able to use cvs to
grab the latest version and (semi)successfully used bjam to build the
libraries. Initially, I'm most interested in the date_time functions,
but eventually I'm sure we'll want to use additional modules.
Building with both Workshop 6 update 2, and Workshop 7 give some
errors in the global bjam build (I'll included these later). The
date_time library appears to compile, but when I then try to compile
one of the example programs I get the following errors:
nautilus.35> CC -c -DBOOST_REGEX_NO_LIB=1
-DBOOST_REGEX_STATIC_LINK=1 -g -xtarget=generic +d -features=rtti
-features=except -I"/opt/src/freeware/boost" days_alive.cpp
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
"/opt/src/freeware/boost/boost/type_traits/is_convertible.hpp", line
191: Warning (Anachronism): Type names qualified by template
parameters require "typename".
line 87
I've tried the -features= flag with the normal and no% forms of
anachronisms, extensions, and transitions, and none of these make a
difference in getting this sample program to compile.
The global build produces a lot of output; I've recognized two
distinct error patterns. One is very similar to the above
(Anachronism) warning, but for other source code files, and the other
pattern includes messages like:
CC -c -DBOOST_REGEX_NO_LIB=1 -DBOOST_REGEX_STATIC_LINK=1 -g
-xtarget=generic +d -features=rtti -features=except
-I"libs/regex/build" -I"/opt/src/freeware/boost" -o
"libs/regex/build/bin/libboost_regex.a/sunpro/debu
g/runtime-link-dynamic/winstances.o"
"libs/regex/build/../src/winstances.cpp"
...failed sunpro-C++-action
libs/regex/build/bin/libboost_regex.a/sunpro/debug
/runtime-link-dynamic/winstances.o...
...skipped
participants (3)
-
Gennadiy E. Rozental <rogeeff@mail.com>
-
markrday <markrday@yahoo.com>
-
Paul Mensonides