Re: cdb library redist

Jeff King <[email protected]> Mon, 7 Jun 2004 15:16:23 -0400 (EDT)
Newsgroups gmane.comp.djb.cdb
Message-ID <[email protected]>
On Mon, 7 Jun 2004, Luca Morettoni wrote:

> I have developed a little utility that use .cdb files, I have used the
> main project of cdb distribuition, I have deleted all utility and I
> have added my source files.
> All work fine but this is a very long method to develope... any hint
> about usign cdb library?

The cdb build procedure creates several static libraries:
  $ ls *.a
  alloc.a  buffer.a  byte.a  cdb.a  unix.a
You should be able to just link against those libraries from your
project (you'll need to use -I and -L to point the compiler at the cdb
directory for the includes and libraries).

-Peff