Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-20 01:08:52

Hi Tom,

> Is it not possible to create a library exclusively from other
> libraries? That is, can multiple .a files are combined to create one .a
> file?

No, at least without writing some specific tool/shell script that will do

> I have a code base that is broken up in to three static libraries.
> However, I want to distribute/deploy these libraries as one lib file.
> [Are libraries still just a concatenation of object files, or are they
> more complicated these days?]

.a libraries are just concetenation of object files (plus small index). To
combine several .a files you need to extra all members of each one, and
create a new .a file from those. And no standard tool can do this.

Should not be very hard with Python script, (or Perl, or even shell), but not
done yet by anybody.

- Volodya

Vladimir Prus
Boost.Build V2:

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