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.

 

Chris

 

From: boost-build-bounces@lists.boost.org [mailto:boost-build-bounces@lists.boost.org] 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

 

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@garmin.com>

Meindert,

 

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

 

Thanks,

 

Chris

 

From: boost-build-bounces@lists.boost.org [mailto:boost-build-bounces@lists.boost.org] On Behalf Of Meindert Oldenburger
Sent: Wednesday, May 25, 2011 6:29 AM
To: boost-build@lists.boost.org
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