
How to build:

STEP 0: Preparation

  Install Windows XP or higher.
  Install Microsoft Visual C++ 2008 or 2010.
  Install Microsoft SDK 7.1 (optional).
  Install patch command, MinGW or TortoiseGit in order to patch source files.


STEP 1: Getting the gettext archive

  Download the gettext version 0.19.4
  http://www.gnu.org/software/gettext/

  Extract libintl sources.
  copy to libintl/intl/ from gettext-runtime/intl/ on gettext archive.


STEP 2: Patching source files

  Patch libintl sources using patch command.

  cd libintl/intl/; patch -p0 < ../patch-0.19.4.patch

  Or, use TortoiseGitUDiff.


STEP 3: Configure

  Edit libintl/msvc/config.h if need.
  Define SKIP_LC_MESSAGES to 1 if you don't need LC_MESSAGES sub-directory in locale directory.


STEP 4: Building libraries using MSVC solution file

  Build all using libintl_vc09.sln or libintl_vc10.sln.
  On success, copy library files to lib/*.


STEP 5: Testing

  Build sample program on samples directory and test them.


