Boost logo

Boost-Build :

Subject: Re: [Boost-build] Need help to build boost static libraries for x64 target platform
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-03-04 11:16:28


On Wednesday 04 March 2009 19:02:03 ajil koshy wrote:
> Hi All,
> I am running Microsoft visual studio 2005 on a Win32 platform. Can someone
> tell me how to build boost libraries of boost.thread, boost.filesystem and
> boost.regex for some of my projects targeted for 64 bit platform. I have
> used the Bjam tool to build boost for 32 bit target platform. I suppose
> there is some different command line option which I need to pass to get it
> working for 64 bit libraries.

Indeed.

        bjam address-model=64 [other option you have used]

This is documented on

        http://www.boost.org/boost-build2/doc/html/bbv2/advanced/builtins/features.html
and
        http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.reference.tools.compiler.msvc

- Volodya


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