Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build relocation into libintl.

1 view
Skip to first unread message

Erwin Waterlander

unread,
Nov 5, 2009, 12:52:22 PM11/5/09
to bug-gnu...@gnu.org, wate...@xs4all.nl
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/


Erwin Waterlander

unread,
May 27, 2010, 3:39:51 AM5/27/10
to bug-gnu...@gnu.org
Op 05-11-09 18:52, Erwin Waterlander schreef:

Hi,

I added builtin relocation to MinGW libintl 0.17. The patch can be
downloaded from
http://www.xs4all.nl/~waterlan/libintl.html
At the moment it only works if you compile for win32. On
Unix/Linux/Cygwin the functionality is currently unchanged.
My goal is to get this working for all platforms.

regards,

Erwin

0 new messages