
Hi Frank, On Apr 26, 2010, at 12:09 PM, Frank Meerkötter wrote:
I am trying to run the regression tests for boost on a SunSparc machine with the SunCC 5.9.
python run.py --runner meerkoetter --toolsets=sun --user= --local=../boost/boost_1_42_0.tar.bz2
don't know how to make <e>sun
Any ideas how i can fix this?
There's no toolset description for sun in your user-config.jam. Notice this message:
configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from /home/meerkoef/boost_regression/tools_bb/user-config.jam .
and this.
warning: No toolsets are configured. warning: Configuring default toolset "gcc". warning: If the default is wrong, your build may not work correctly. warning: Use the "toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html notice: will use 'g++' for gcc, condition <toolset>gcc-3.4.3 notice: using gcc libraries :: <toolset>gcc-3.4.3 :: /usr/sfw/bin /usr/sfw/lib /usr/sfw/lib32 /usr/sfw/lib64 notice: using gcc archiver :: <toolset>gcc-3.4.3 :: /usr/sfw/sparc-sun-solaris2.10/bin/ar notice: using gcc ranlib :: <toolset>gcc-3.4.3 :: /usr/sfw/sparc-sun-solaris2.10/bin/ranlib warning: toolset gcc initialization: can not find tool windres warning: initialized from notice: using rc compiler :: <toolset>gcc-3.4.3 :: as ...patience...
Basically Boost.Build is saying there's no user-config.jam so it's defaulting to gcc (your system's default gcc seems to be version 3.4.3). Here's what some of my user-config.jam look like (and you may need to implement a patch_boost script to copy user-config.jam into the correct locations). using gcc : 3.4.6 : /usr/local/bin/g++ : <cflags>"-mcpu=v9" <cxxflags>"-mcpu=v9" <linkflags>"-mcpu=v9" <linker-type>sun ; using sun : 5.10 : /opt/sunstudio12.1/bin/CC : <cflags>"-features=tmplife -features=tmplrefstatic" <cxxflags>"-features=tmplife -features=tmplrefstatic" <linkflags>"-features=tmplife -features=tmplrefstatic" ; Hope that helps. -- Noel