This is the mail archive of the cygwin-apps@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdbm package available for test


gdbm is the GNU database package and is a prerequisite for cvs. This is
the initial port of gdbm to cygwin's new packaging scheme. I've had
gdbm-1.8.0 on cygutils for some time, but the cygutils version was
staticlib only, and didn't follow the package layout rules established
here on cygwin-apps. The package also includes several test utilities
and compatibility headers, so that gdbm can be used as a drop-in
replacement for ndbm and dbm. The binary package includes dynamically
linked versions of these test programs, although the build process will
make both dynamically and statically linked versions.

The package is now available for testing at
   ftp://sourceware.cygnus.com/pub/cygwin/private/cygwin-extras-392/

gdbm-1.8.0-1.tar.gz
gdbm-1.8.0-1-src.tar.gz

Building requires gcc-2.95.2-2 and binutils-20000722-1 or later.

NOTES:

o import-lib libfoo.dll.a
o stripped dll libfoo.dll
o static-lib libfoo.a
o cygwin-specific doc /usr/doc/Cygwin/gdbm-1.8.0.README
o generic docs in /usr/doc/gdbm-1.8.0/*
o source archive already has the cygwin-specific patch applied

o cygwin-specific README and PATCH are stored in the source archive,
under <top>/CYGWIN-PATCHES/* (although the patch has already been
applied to the archive itself).

o define -DGDBM_STATIC to get the 'correct' #define's when compiling a
.o that will be linked statically -- as well as using 'gcc -static'
during the link step

o also use -DGDBM_STATIC when using the compatibility headers for ndbm
and dbm, if linking statically.

o no special -Ddefine options needed (or link options) needed to link to
the dll, whether using 'gdbm.h' or the ndbm/dbm compatibility headers

Comments and test reports welcome!

--Chuck

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]