Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-03-04 03:01:40


Lydia Heck wrote:

>
> I have been trying to build boost 1.34.x on a Solaris 10 x64 platform using the
> studio12 compilers and I am hitting some barriers which I can not overcome:
>
> (a) I built bjam with the studio12 cc compiler
> (b) the user-conf.jam file

It's user-config.jam, but I assume it's a typo in the email.

> looks as follows; I arrived that this
> by following a blog I found on the web on building boost.
>
>
> # Boost.Build Configuration
> # Automatically generated by Boost configure
>
> # Compiler configuration
> #using sun ;
> import toolset : using ;
> using sun
> : 5.10
> : /opt/studio12/SUNWspro/bin/CC
> : <stdlib>sun-stlport
> <cxxflags>-native64
> ;
>
> # Python configuration
> using python : 2.5 : /opt/csw ;

Are you sure this user-config.jam is in the right place. Boost
configure tends to put user-config.jam where 'bjam' cannot find
it. I suggest editing tools/build/v2/user-config.jam

>
> (c) I use the following command line
> bjam --toolset=sun -sTOOLS=sunpro
> -sSUNPRO_ROOT_DIRECTORY="/opt/studio12/SUNWspro/" -sSUNWPRO_CXX="CC
> -library=stlport4 -features=tmplife -features=tmplrefstatic -Qoption ccfe
> -complextmplexp" -j8 -d2 stage

This command line appears to be wrong. Boost.Build V2 does not have -sSUNWPRO_CXX
thing. Have you seen:

        http://blogs.sun.com/sga/entry/boost_and_sun_studio_12

and other posts at:

        http://blogs.sun.com/sga/category/Boost

- Volodya


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