Updated: gdbm-1.8.0-4

Charles Wilson cwilson@ece.gatech.edu
Tue Dec 31 07:35:00 GMT 2002

The gdbm package has been updated to version 1.8.0-4.  It is based on
the official GNU Database Manager distribution from the FSF,
gdbm-1.8.0.tar.gz.  gdbm is a prerequisite for the cvs package.  This
new release has been available as a test release for over a week; given
no complaints, I am promoting it from 'test' to 'current'.

CHANGES: (vs. 1.8.0-3)
   1. Internal changes to facilitate easier building/maintainance
   2. gdbm is now built using the 'auto-import' features of
	  recent binutils.
   3. A few fixes so that gdbm database files may be hosted on
      text-mode mounts. (AJ Reins)
   4. Fix gdbm.texinfo so that "install-info gdbm.info" doesn't
      issue warnings. (AJ Reins)

Note that merely updating cyggdbm to this new version will NOT
magically enable CVS to host repositories on text mounts; nor will
it magically fix CVS's existing problems with CR/LF. This gdbm
update may fix the gdbm database files within the CVSROOT repository,
but CVS itself is still not text/binary clean.  Workin' on it...

Charles Wilson
gdbm volunteer maintainer for cygwin


To update your installation, click on the "Install Cygwin now" link on
the http://sources.redhat.com/cygwin web page.	This downloads setup.exe
to your system.

Run setup and answer all of the questions.  You must choose a
mirror, since direct downloads from 'cygwin.com' are no longer

ftp://mirrors.rcn.net/pub/sourceware/cygwin/ (US)
ftp://linux.sarang.net/mirror/development/compiler/cygwin/ (Korea)
ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin (UK)

The setup.exe program will figure out what needs to be updated on your
system and should install the gdbm package automatically. To install
this TEST version of gdbm you'll have to select the experimental radio
button in setup.

If you have questions or comments, please send them to the Cygwin
mailing list at:  cygwin@sources.redhat.com .  I would appreciate if you
would use this mailing list rather than emailing me directly. This
includes ideas and comments about the setup utility or Cygwin general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.


If you want to unsubscribe to the cygwin-announce mailing list, look at
the "List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:



o Now uses the auto-import functionality of newer binutils, and
doesn't use __declspec(dllimport).  This means you no longer need
"-DGDBM_STATIC" or "-DALL_STATIC" when compiling objects intended
for static linking. Just compile as normal. HOWEVER, you need to
use a special flags when linking statically: 'gcc -static'. For
dynamic linking, you need no special link-time flags (assuming
you're using binutils newer than 20011002, when
--enable-auto-import was made the default).

   -- PRO: no compile time flags needed when building
	  client programs; ONLY need a link-time flag
	  linking to static libraries.	NO special flags
	  at compile-time nor link-time when linking to
	  dynamic links.
   -- CON: (partial): if using binutils older than 20010930,
	  you now need a special linktime flag for dynamic
	  linking (-Wl,--enable-auto-import).  However,
	  with an up-to-date binutils, you don't need this.

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 Building the package from source requires gcc-2.95.3-5 and
binutils-20011002-1 or later

o If you are building a package that depends on libgdbm, and you wish to
link *statically*, just use 'gcc -static' when linking your package.
There no need to -Ddefine anything special when compiling your object

o No special -Ddefine options or link options are needed when building a
package that depends on libgdbm and you want to link dynamically

o The following packages have been converted from old style
"-DFOO_STATIC" to the new autoimport style of DLL structure:
     ncurses   readline	 gettext   zlib   tiff
     libpng    xpm-nox	 jpeg	     jbig   gdbm
The following have not (yet) been converted, and still need
-DFOO_STATIC for static builds:

More information about the Cygwin-announce mailing list