Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3986242D.C068AAE6@ece.gatech.edu> Date: Mon, 31 Jul 2000 21:13:17 -0400 From: Charles Wilson X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cwilson AT ece DOT gatech DOT edu, cygwin AT sourceware DOT cygnus DOT com Subject: gdbm package available for test Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 /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 AT sourceware DOT cygnus DOT com