Subject: Re: [Boost-build] [1.37][VC8.0] Building Filesystem Library
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-22 03:40:41
On Friday 21 November 2008 14:47:40 Johan Nilsson wrote:
> 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?
When I do:
bjam --with-filesystem stage
the system library is built and installed. Same for 'install'. df.trash, did you
omit 'stage' or 'install' target? We probably should be building 'stage' by
default -- I've posted to boost_at_[hidden] about this.
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