Boost logo

Boost Users :

From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-07-11 13:54:14


damny_at_[hidden] wrote:

> hi,
>
> for building boost 1.35.0 with bjam 3.1.16 and mingw gcc 3.4.5 on winxp sp2 i created a *.BAT-file
> like follows:
>
> @echo off
> SETLOCAL
> SET MINGW=C:\Development_Compiler\MinGW
> SET PYTHN=C:\Development_Compiler\Python25
> SET BUILD=C:\Development_Libs\Boost_v1.35.0
> SET path=C:\WINDOWS;C:\WINDOWS\system32;%MINGW%\Bin
> cls
> bjam.exe -a "-sTOOLS=mingw" "-sGCC_ROOT_DIRECTORY=%MINGW%" "-sPYTHON_ROOT=%PYTHN%"
> "-sPYTHON_VERSION=2.5"

All the -s option above have no effect.

> --link=static --runtime-link=static --threading=single --optimization=on
> --toolset=gcc --build-dir=%BUILD% --build-type=complete install ENDLOCAL

Remove "--" in front of all properties. "--build-dir" and "--build-type" are options
and need "--". Everything else is properties, which tell what flavour of binaries you
want to get, and don't need "--".

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net