Boost logo

Boost-Build :

Subject: Re: [Boost-build] create archive from other archives
From: Meindert Oldenburger (meindert66_at_[hidden])
Date: 2011-05-27 04:41:25


Chris,

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"

Meindert

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

> Meindert,
>
>
>
> Please clarify what interface and rdbms targets are, i.e. provide rules.
>
>
>
> Thanks,
>
>
>
> Chris
>
>
>
> *From:* 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]
> *Subject:* [Boost-build] create archive from other archives
>
>
>
> Hello,
>
> I'm new to bjam and was running to the following "problem" on linux.
>
>
> lib nedb
> :
> # edb.c
> interface
> rdbms
> :
> <link>static
> <def-file>interface/nedb.def
> ;
>
>
> 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,
> Meindert
>
> ------------------------------
> 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:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>



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