damny@web.de 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