Relocatable libintl for MinGW and MinGW-w64.

Here you find a patched version of MinGW libintl dll with builtin relocation support for executables. With this DLL your programs are automatically relocatable. No need to add relocation code to your program source code.

Libintl is part of the gettext (see also here) package. The patch was ported from the GnuWin32 port of libintl, which also has builtin relocation support. Big thanks to GnuWin32 maintainer Kees Zeelenberg. See here.

At the moment the relocation support is only active if you compile with MinGW for Windows. If you compile for Unix/Linux/Cygwin the functionality is unchanged.

MinGW libintl 0.18.3.1

00-relocatex-libintl-0.18.3.1.patch Source code changes (patch file)

This patch for gettext 0.18.3.1 is part of the gettext package version 0.18.3.1-2 for the MinGW-w64 compiler in the MSYS2 project.

MinGW libintl 0.18.1.1

libintl-relocatex-0.18.1.1-2RX-mingw32-dll-8.zip DLL with builtin relocation support (libintl-8.dll)
libintl-relocatex-0.18.1.1-2RX-mingw32-dev.zip Development libraries with builtin relocation support
05-relocatex-libintl-0.18.1.1.patch Source code changes (patch file)
gettext-0.18.1.1-2RX-mingw32-src.tar.lzma Original gettext source code with patches and mgwport build script for MinGW32.

MinGW libintl 0.17

libintl-0.17-1-reloc-dll-2010-05-19.zip DLL with builtin relocation support (libintl-8.dll)
libintl-0.17-1-reloc-dev-2010-05-19.tar.gz Source code changes (complete files)
libintl-0.17-1-reloc-dev-2010-05-19.patch Source code changes (patch file)
gettext-0.17-1-mingw32-src.tar.bz2 Original gettext source code.

This patch has been submitted to the MinGW project tracker. See here

Upstream gettext maintainers have been notified on May 27 2010 via bug-gnu-gettext@gnu.org, but they have not responded yet.

Changes

2014-01-08: Patch for gettext 0.18.3.1
2012-04-15: Patch for gettext 0.18.1.1
2010-05-19: Compiles on Linux and Cygwin
2010-05-15: Initial version

To do

Make it work at all platforms.

Contact

Erwin Waterlander
Erwin's homepage. (WCD - Wherever Change Directory)