List Info

Thread: How to pass sun-stlport at command line




How to pass <stdlib>sun-stlport at command line
country flaguser name
India
2007-05-16 02:15:37
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 ?
--
regards,
Prashant Thakre

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: How to pass <stdlib>sun-stlport at command line
country flaguser name
United States
2007-05-16 02:47:23
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

-- 

----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: How to pass <stdlib>sun-stlport at command line
country flaguser name
India
2007-05-16 07: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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: How to pass <stdlib>sun-stlport at command line
country flaguser name
India
2007-05-17 06:39:39
Michael Caisse <boost <at>
objectmodelingdesigns.com> writes:
> 
> Prashant Thakre wrote:
> >  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
> 
 passing stdlib=sun-stlport without "--" solves
the problem
--
regards,
Prashant





_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )