Boost logo

Boost Users :

Subject: Re: [Boost-users] building 32 and 64-bit Boost on the same platform
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-01-30 13:51:55


Damien Hocking wrote:

> Hi all,
>
> I'm working on a cross-platform project that needs 32 and 64-bit Boost on Windows, Linux and OS X.
> I can happily build the individual versions on each platform, e.g.
>
> bjam --build-dir=./build64 --toolset=darwin address-model=64 architecture=x86
> --build-type=complete stage
>
> for OS X, but is there a way to get the stage directory renamed to say stage 64 so I can batch all
> this up and build the 32 and 64-bit versions without any intervention by me? I can write shell or
> batch scripts to copy or rename the stage directory, but if there's an option in the build system
> I'd like to know about it.

The --stagedir option can be used to modify the name of the stage directory. There's no way to
automatically add '64' to the name of the stage directory, or to add '64' to the names of the
libraries.

HTH,
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