Boost logo

Boost-Build :

From: Prashant Thakre (prashant.thakre_at_[hidden])
Date: 2007-05-16 08:37:58


Michael Caisse <boost <at> objectmodelingdesigns.com> writes:
>
> Prashant Thakre wrote:
> > Hi,
> > I am trying to build boost.[1.34.0] on Solaris 10 using Sun C++ 5.8
> > CC: Sun C++ 5.8 Patch 121017-09 2007/01/17
> > However, for successful build on Solaris boost has to be built with sun-
> > stlport which has been defined in sun.jam.
> > -----------------------------------
> > feature.extend stdlib : sun-stlport ;
> > feature.compose <stdlib>sun-stlport
> > : <cxxflags>-library=stlport4 <linkflags>-library=stlport4
> > ;
> > ------------------------------------
> > What would be right way to pass this as an option to bjam i.e. --
stdlib=sun-
> > stlport ?
> > --
> >
> Prashant -
>
> Are you selecting the sun toolset when invoking bjam?
>
> bjam --build-dir=/build/here --toolset=sun stage
>
> Regards -
>
> michael
>
Hi,
 Yes, currently I am using user-config.jam with following contents
  --------------------------------cut here----------------------------------
  import toolset : using ;
  using sun :
          : /opt/sunstudio11/SUNWspro/bin/CC
          : <cxxflags>-library=stlport4 <cxxflags>-features=tmplife
            <cxxflags>-features=tmplrefstatic <linkflags>-library=stlport4
            ;
  --------------------------------cut here----------------------------------
  This is not desirable.

 Bjam command:
  bjam install release --without-python ^
  --prefix="$HOME/1.34" --toolset=sun ^
  1>>build.log 2>>build.log

--
Regards,
Prashant Thakre

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