bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build relocation into libintl.


From: Erwin Waterlander
Subject: Build relocation into libintl.
Date: Thu, 05 Nov 2009 18:52:22 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

I'm using gettext/libintl now for some time. I'm using gettext ports on different operating systems. For the win32 port of my program I use the GnuWin32 port of gettext/libintl (see http://gnuwin32.sourceforge.net/). The nice thing of this port is that relocation support is builtin. This means that all programs that use this port automatically support relocation out of the box. All programs in the project are relocatable without modifications.

Lately I was trying the MinGW port of gettext/libintl and discovered that relocation didn't work. First I thought it was a bug of the MinGW port. But later I saw that by default there is no relocate support in the libintl library. MinGW uses gettext/libintl unmodified. I noticed that relocation support has been added separately to the gettext (and iconv) programs.

Isn't it a good idea to build relocation support into the library, like the GnuWin32 maintainers did? This way you don't have to take the hassle of adding relocation support to every individual program.

--
Erwin Waterlander
http://www.xs4all.nl/~waterlan/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]