You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Farid Zaripov <Fa...@epam.com> on 2007/03/23 20:35:23 UTC

[PATCH] Boost + stdcxx

  Attached is a new files for building the boost library with stdcxx.

  The .jam files should be placed in %BOOST_ROOT%/tools/build/v1.

  The boost-base.jam.diff is the patch file for the boost-base.jam file.

  The 2 environment variable should be defined before build:

STDCXX_ROOT - is the root directory of the stdcxx
STDCXX_BUILD_PATH - is the build directory

  That variables can be exported of specified in the command line
using syntax -sNAME=value.

  Example of the command line which I've used:

bjam --without-python -sSTDCXX_ROOT=/usr/src/stdcxx 
-sSTDCXX_BUILD_PATH=/usr/src/stdcxx/build_12d -sTOOLS=gcc-stdcxx 
-s"BUILD=release <runtime-link>dynamic <threading>multi" stage

  For the regression test the command line the same, but without stage 
parameter and invoked from status directory:

cd status
bjam --without-python -sSTDCXX_ROOT=/usr/src/stdcxx 
-sSTDCXX_BUILD_PATH=/usr/src/stdcxx/build_12d -sTOOLS=gcc-stdcxx 
-s"BUILD=release <runtime-link>dynamic <threading>multi"

Farid.


Re: [PATCH] Boost + stdcxx

Posted by Martin Sebor <se...@roguewave.com>.
Farid Zaripov wrote:
>  Attached is a new files for building the boost library with stdcxx.

Excellent! Which version of Boost did you use? (The latest?)
I'll give it a try on Solaris as soon as I get a chance and
post my results. If you could post yours (i.e., the test logs),
perhaps on your home page so as not to spam the list with large
amounts of text, that would be great!

Also, please remember to post links to any Boost issues you may
have filed in the process of porting (e.g., the mbstate_t bugs).

Thanks!
Martin

> 
>  The .jam files should be placed in %BOOST_ROOT%/tools/build/v1.
> 
>  The boost-base.jam.diff is the patch file for the boost-base.jam file.
> 
>  The 2 environment variable should be defined before build:
> 
> STDCXX_ROOT - is the root directory of the stdcxx
> STDCXX_BUILD_PATH - is the build directory
> 
>  That variables can be exported of specified in the command line
> using syntax -sNAME=value.
> 
>  Example of the command line which I've used:
> 
> bjam --without-python -sSTDCXX_ROOT=/usr/src/stdcxx 
> -sSTDCXX_BUILD_PATH=/usr/src/stdcxx/build_12d -sTOOLS=gcc-stdcxx 
> -s"BUILD=release <runtime-link>dynamic <threading>multi" stage
> 
>  For the regression test the command line the same, but without stage 
> parameter and invoked from status directory:
> 
> cd status
> bjam --without-python -sSTDCXX_ROOT=/usr/src/stdcxx 
> -sSTDCXX_BUILD_PATH=/usr/src/stdcxx/build_12d -sTOOLS=gcc-stdcxx 
> -s"BUILD=release <runtime-link>dynamic <threading>multi"
> 
> Farid.
>