Boost logo

Boost-Build :

Subject: Re: [Boost-build] create archive from other archives
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2011-05-31 12:21:41

I believe you are observing the correct behavior i.e. you cannot create an archive from archives per another recent thread that Vladimir has responded to.


From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Meindert Oldenburger
Sent: Friday, May 27, 2011 3:41 AM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] create archive from other archives


Mmm i have to learn to be a bit more clear about the problem i have :)

The tagets are static libs also, the same as the overall target " nedb"

lib interface : aap.c : <link>static ;
lib rdbms : noot.c : <link>static ;

So constructing a archive from other archives without a non archive target as source is not working in this case.

A possible solution is to make from "lib nedb" "alias nedb" one of the reasons is that during linking all archives are put as source if nedb is type lib. Link line holds "nedb.a" but also "interface.a" and "rdbms.a"


2011/5/26 Nogradi, Chris <Chris.Nogradi_at_[hidden]<mailto:Chris.Nogradi_at_[hidden]>>

Please clarify what interface and rdbms targets are, i.e. provide rules.



From: boost-build-bounces_at_[hidden]<mailto:boost-build-bounces_at_[hidden]> [mailto:boost-build-bounces_at_[hidden]<mailto:boost-build-bounces_at_[hidden]>] On Behalf Of Meindert Oldenburger
Sent: Wednesday, May 25, 2011 6:29 AM
To: boost-build_at_[hidden]<mailto:boost-build_at_[hidden]>
Subject: [Boost-build] create archive from other archives


I'm new to bjam and was running to the following "problem" on linux.

lib nedb
# edb.c

The above rule should make a nedb.a, but it is not working. The subtargets are also static archives interface.a and rdbms.a.
However if i add a dummy c file to the list of sources, then it works and there is a nedb.a created.

Has someone an idea?

Best regards,

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

Thank you for your cooperation.

Unsubscribe & other changes:

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