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

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

Re: Build relocation into libintl. (patch)


From: Erwin Waterlander
Subject: Re: Build relocation into libintl. (patch)
Date: Thu, 27 May 2010 09:39:51 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100228)

Op 05-11-09 18:52, Erwin Waterlander schreef:
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.


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



reply via email to

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