This is the mail archive of the cygwin@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, and (pending
positive reports from users like you) will be included in cygwin/contrib
in the near future.

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

NOTES:

o Building the package from source requires gcc-2.95.2-2 and
binutils-20000722-1 or later

o I've had gdbm-1.8.0 on cygutils for some time, but the cygutils
version was staticlib only, and didn't follow the official cygwin
package layout rules.

o The package includes several test and conversion utilities which are
useful for evaluating gdbm, and converting older ndbm and dbm databases
to the gdbm format. These utilities are dynamically linked, although the
build process will make both dynamically and statically linked versions.

o The package also includes compatibility headers, so that gdbm can be
used as a drop-in replacement for ndbm and dbm.

o Abides by the cygwin package system standard:
  - import-lib   /usr/lib/libgdbm.dll.a
  - static-lib   /usr/lib/libgdbm.a
  - stripped dll /usr/bin/libgdbm.dll
  - cygwin-specific docs in /usr/doc/Cygwin/gdbm-1.8.0.README
  - generic docs in /usr/doc/gdbm-1.8.0/*
  
o A cygwin-specific README and PATCH are stored in the source archive,
under <top>/CYGWIN-PATCHES/* (although that patch has already been
applied to the archive itself). The cygwin-specific README is also
installed by the binary distribution as described above.

o If you are building a package that depends on gdbm, and you wish to
link *statically*, define -DGDBM_STATIC to get the 'correct' #define's
in gdbm.h when compiling the .o files in your package. Also, use 'gcc
-static' when linking your package.

o Also, use -DGDBM_STATIC when using the compatibility headers
(ndbm.h/dbm.h) if linking statically. Don't use '-DNDBM_STATIC' or
'-DDBM_STATIC'.

o No special -Ddefine options or link options are needed when building a
package that depends on gdbm and you want to link dynamically
(recommended). This is also the case if you are using gdbm as a
replacement for ndbm/dbm and are using the ndbm.h/dbm.h compatibility
headers.

Comments and test reports welcome!

--Chuck



--END--

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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