Boost logo

Boost-Build :

Subject: Re: [Boost-build] build boost 1.40 on windows 7 - 32 bit and 64 bit libs
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-23 11:31:42


AMDG

xmueller wrote:
> hello all,
> can anyone briefly explain how to build 32 bit and 64 bit boost libs on
> windows 7 ?
> my current approach is this:
>
> 32 bit debug libs - run bjam on cmd window:
> bjam stage --build-dir=D:\Projekte\boost140libs toolset=msvc --link=static
> --threading=multi --runtime-link=static --layout=tagged --variant=release
>
> 64 bit debug libs - run bjam on vs2008 x64 cmd prompt:
> REM bjam stage --build-dir=D:\Projekte\boost140libs toolset=msvc
> --link=static --threading=multi --runtime-link=static --layout=tagged
> --variant=release --address-space=64
>
> my problem:
> all libs have same size. can this be ?
> did i something wrong when building ?
>

Most of the --xxx=yyy arguments are ignored.

Try

bjam stage --build-dir=D:\Projekte\boost140libs toolset=msvc
  link=static threading=multi runtime-link=static
  --layout=tagged variant=release

and

bjam stage --build-dir=D:\Projekte\boost140libs toolset=msvc
  link=static threading=multi runtime-link=static
  --layout=tagged variant=release address-model=64

In Christ,
Steven Watanabe


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