Boost logo

Boost-Build :

Subject: Re: [Boost-build] [1.37][VC8.0] Building Filesystem Library
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2008-11-20 10:53:44


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.
>
> I'm very much new to the Boost paradigm.
> Why can I not build the System Library statically?
> Do I really need the System Library and its error handling features?
> Will the Filesystem Library need the System Library or is the System
> Library just an option to handle errors and not essential at
> runtime? _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

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.

_________________________________________________________
Mike Jackson mike.jackson_at_[hidden]
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio


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