Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-28 03:15:01

"klapshin wrote:

> For example I am using Xerces-C library, since CygWin comes with
> prebuilt xerces I decided to give it a try. In my Jamfile I put
> something like this:
> lib xerces : : <name>xerces-c22 <search>/lib ;
> lib util : util.cpp xerces ;
> And bjam does not even try to link it with xerces. It is not
> surprising that I am getting lots of link errors.

As I've said previously, one of the problems is that Boost.Build does not
use 'xerces' in any way, but does not warn about it. The CVS now
contains a fix and a test for this: any source target which is not used will
generate a warning.

Regarding the other issue, linking a library into a library, I'll have to do
some more research. In particular:
1. Is it possible to link two static libraries together with GNU ar
2. Is there are way to link shared library into static one (seems impossible
to me).

Or you know the answers off-hand?

- Volodya


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