[avail for test] gettext-0.10.38-2

Charles S. Wilson cwilson@ece.gatech.edu
Wed Jun 20 10:50:00 GMT 2001

I've uploaded a new version of gettext to sourceware.  gettext is the 
GNU package which provides 'national language support' for other 
programs. It includes a number of utility programs as well as a library, 
libintl, that can be linked to your own programs.

This is marked as a test release (for now).  Note that the mirrors 
probably have 0.10.38-1 as a test release -- DON'T INSTALL THAT ONE. 
Wait for 0.10.38-2, which should show up in a day or so.

CHANGES (since gettext-0.10.35-2p1)

o updated to gettext-0.10.38 release
o you can now use -DALL_STATIC as an alias for -DGETTEXT_STATIC
o documentation updates
o The ABI changed *very* slightly between 0.10.35 and 0.10.38.  The 
following symbols were changed:
   _nl_current_default_domain -> _nl_current_default_domain__
   _nl_default_default_domain -> _nl_default_default_domain__
   _nl_default_dirname        -> _nl_default_dirname__
but those are only exported for the gettext packages' internal 
convenience -- these symbols are not linked-to by external programs. 
Also, there were a number of symbols added to the dll, so this new 
cygintl.dll is not *forward* compatible, but it is *backward* 
compatible.  That is, programs compiled with the old package will work 
with the new one, but not necessarily vice versa.

Anyway, since these changes were so minor and should not be 
user-visible, I didn't bump (add) a version number to the dll.  However, 
I'm not *entirely* sure that the ABI changes are totally hidden; that's 
why this is a test release.


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)

Since this is a test release, you must click the 'TEST' radio button
on the appropriate setup screen.

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 Building the package from source requires gcc-2.95.2-2 and
binutils-20000722-1 or later

o The package includes several utilities.  These utilities are
*statically* linked, although this package does include a dynamic lib
(dll) and the associated import lib.  I just didn't link the utilities
dynamically  (see below for explanation).

o Abides by the cygwin package system standard:
   - import-lib   /usr/lib/libintl.dll.a
   - static-lib   /usr/lib/libintl.a
   - stripped dll /usr/bin/cygintl.dll
   - headers      /usr/include
   - cygwin-specific docs in /usr/doc/Cygwin/gettext-0.10.35.README
   - other docs in /usr/doc/gettext
   - man pages and info pages in /usr/man and /usr/info
   - other stuff in /usr/share/gettext and /usr/share/locale

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 gettext (that is, on
libintl) and you wish to link *statically*, define -DGETTEXT_STATIC to
get the 'correct' #define's in libintl.h when compiling the .o files in
your package. Also, use 'gcc -static' when linking your package.

o You can also use -DALL_STATIC as an alias for '-DGETTEXT_STATIC'
the following libs are supplied in both static and dynamic forms and
support the -DALL_STATIC macro as an alias for -D<pkgname>_STATIC:
   ncurses readline zlib libpng xpm-nox jpeg tiff gettext
The following static/dynamic libraries do not (yet) support the
   gdbm jbig

o No special -Ddefine options or link options are needed when building a
package that depends on gettext (that is, on libintl) and you want to
link dynamically (recommended).

o It is probably best to specify '--use-included-gettext' and NOT use 
this package when building gcc.  It is also probably best to use the 
naked-intl package when building dumper.exe (part of the cygwin kernel 
build) and NOT use this package.  Those two packages (gcc and 
cygwin1.dll) are fairly complex, and it's difficult to get them behave 
nicely when linking to this package.  Other packages, however, do build 
/ link with this gettext package with greater ease.

-- Chuck

Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list