Boost logo

Boost-Build :

Subject: Re: [Boost-build] Need help building boost on Windows XP
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-24 14:07:50


AMDG

Mike Jackson wrote:
> Let's pretend I am new to Boost and would like to build boost on
> Windows XP using Visual Studio 2008 Express. I would like to build
> JUST the filesystem, iostreams, thread, program_options and test
> libraries. I would also just like the Multi-Threaded, Static libraries
> linked dynamically to the c runtime. What exactly would I use for the
> arguments to bjam? I have tried a bunch of combinations and just end
> up with bjam errors. On OS X I finally just hacked the configure file
> to get what I wanted but I am at a loss as to how to do this on
> Windows XP.
>
> I am sure this comes up a bunch so I took a look through the
> boost.build documentation, boost.org documentation, getting started
> and nothing really lays out what the proper arguments are.
>
> I tried variations on the following:
>
> bjam.exe --toolset=msvc --with-test --with-filesystem
> --with-program_options --with-iostreams --with-threads --release
> --prefix=C:\Developer\Toolkits\Boost -build-type=release,debug
> <threading>multi <link>static <runtime-link>shared install
>
bjam.exe toolset=msvc --with-test --with-filesystem --with-program_options \
    --with-iostreams --with-threads --prefix=C:\Developer\Toolkits\Boost \
    variant=release,debug threading=multi link=static
runtime-link=shared install

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