This is a binary package of GNU gettext 0.11.5 (release 2)

  Compatibility: Some binary versions of intl.dll have been compiled by hand
  using "export by ordinal". This has the following side effects:
  1) Programs compiled with gettext 0.10.39, 0.11.5 (release 2) and all further
     further versions can use ALL gettext versions.
  2) Programs compiled with gettext 0.10.35, 0.11.2 (and all other versions
     that may have been compiled by "export by ordinal") can NOT use any
     other version.
  3) 0.10.40 is defective. Do NEVER use!
  4) 0.11.5 (release 1) is not backward compatible to those DLLs mentioned
     above. Do not use!
  5) Use 0.11.5 (release 2) if possible. If this is not possible (because you
     have to use a program that has been compiled with 0.10.35 or 0.11.2)
     install 0.11.5 (especially libintl.h, intl.a and intl.lib) but use
     your old (0.11.2) intl.dll! This seems odd but it's supposed to work:
     All new applications you compile will be able to use both dll types,
     and all old applications will be happy with your old intl.dll.


This binary compilation requires libunixos2 0.1.1.

Install this file into x:/ where "x:" is given by the UNIXROOT environment
variable. Run the following command:
install-info --info-dir=%UNIXROOT%/usr/share/info %UNIXROOT%/usr/share/info/gettext.info


This package has been compiled with pgcc 2.95.3 using the following commands:



***** Compile the static version ******

export EMXSHELL=ksh
export ac_executable_extensions=".exe"
export CPPFLAGS="-D__ST_MT_ERRNO__"
export CFLAGS="-Os -Zmt -Wall"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-s -Zstack 0x8000"
export LIBS="-liconv2 -lunixos2 -lgcc"
unset AR
unset RANLIB
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
  --with-included-gettext --disable-shared
make
make install prefix=x:/pck_root/usr mandir=x:/pck_root/usr/share/man \
  infodir=x:/pck_root/usr/share/info docdir=x:/pck_root/usr/share/doc/gettext \
  aclocaldir=x:/pck_root/usr/share/aclocal

make clean


***** Compile the dynamic version *****

export EMXSHELL=ksh
export ac_executable_extensions=".exe"
export CPPFLAGS="-D__ST_MT_ERRNO__"
export CFLAGS="-Os -Zomf -Zmt -Wall"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-s -Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio -Zstack 0x8000"
export LIBS="-liconv2 -lunixos2 -lgcc"
export AR="emxomfar"
export RANLIB="echo"

./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
  --with-included-gettext --disable-static

make AR=emxomfar

make install prefix=x:/pck_root/usr mandir=x:/pck_root/usr/share/man \
  infodir=x:/pck_root/usr/share/info docdir=x:/pck_root/usr/share/doc/gettext \
  aclocaldir=x:/pck_root/usr/share/aclocal


***** Move /usr/lib/intl.dll into /lib/intl.dll *****
x:
cd /pck_root/usr/lib
mkdir ../../lib
mv intl.dll ../../lib


