Boost logo

Boost-Build :

Subject: Re: [Boost-build] [1.37][VC8.0] Building Filesystem Library
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-11-21 06:47:40

Michael Jackson wrote:
> On Nov 20, 2008, at 10:21 AM, df.trash wrote:
>> I want to build the Filesystem Library on Windows so that it
>> statically links to my code at runtime.
>> I use the following statement on the command line to invoke bjam:
>> bjam release --with-filesystem --toolset=msvc-7.1 link=static
>> This builds only 1 library: libboost_filesystem-vc80-mt-1_36.lib
>> It does not build the System Library which Filesystem depends on.


> bjam release --with-filesystem --with-system --toolset=msvc-7.1
> link=static
> should get you there. It should compile BOTH the filesystem and system
> libraries for you.

OTOH, as system is a dependency of filesystem - why isn't it built
automagically? Kind of defeats the principle of least surprise.

Also, isn't there a missing stage/install target here somewhere?

/ Johan

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at