This is the mail archive of the cygwin@cygwin.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]

[ANNOUNCEMENT] Updated: gettext-0.10.38-2


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.

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.  During 
the 'test' phase I received no error reports, so I assume that this 
decision caused no problems.

INSTALLATION:

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
allowed.

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)

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.

               *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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:

cygwin-announce-unsubscribe-you=yourdomain.com@sources.redhat.com


NOTES:

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.38.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
-DALL_STATIC macro:
   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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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