From 482840e61f86ca321838a91e902c41d40c098bbb Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 24 Dec 2014 07:38:37 +0000 Subject: Imported from /home/lorry/working-area/delta_gettext-tarball/gettext-0.19.4.tar.xz. --- README.woe32 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.woe32 (limited to 'README.woe32') diff --git a/README.woe32 b/README.woe32 new file mode 100644 index 0000000..03a1ef9 --- /dev/null +++ b/README.woe32 @@ -0,0 +1,48 @@ +Installation on Woe32 (WinNT/2000/XP/Vista/7, Win95/98/ME): + +This file explains how to create binaries for the mingw execution environment. +For how to create binaries for the cygwin environment, please see the normal +INSTALL file. MS Visual C/C++ with "nmake" is no longer supported. + +I recommend to use the cygwin environment as the development environment +and mingw only as the target (runtime, deployment) environment. +For this, you need to install + - cygwin, + - the mingw runtime package, also from the cygwin site. + +You must not install cygwin programs directly under /usr/local - +because the mingw compiler and linker would pick up the include files +and libraries from there, thus introducing an undesired dependency to +cygwin. You can for example achieve this by using the +configure option --prefix=/usr/local/cygwin each time you build a +program for cygwin. + +Building for mingw is then achieved through the following preparation +and configure commands: + + PATH=/usr/local/mingw/bin:$PATH + export PATH + ./configure --host=i586-pc-mingw32 --prefix=/usr/local/mingw \ + CC="gcc-3 -mno-cygwin" \ + CXX="g++-3 -mno-cygwin" \ + CPPFLAGS="-Wall -I/usr/local/mingw/include" \ + LDFLAGS="-L/usr/local/mingw/lib" + +The -mno-cygwin option tells the cygwin compiler and linker to build for +mingw. The -I and -L option are so that packages previously built for the +same environment are found. The --host option tells the various +tools that you are building for mingw, not cygwin. + +It is also possible to build 64-bit mode binaries, by using the development +tool chain from the mingw-w64 project +and the configure options: + --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 \ + CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ \ + LD=x86_64-w64-mingw32-ld NM=x86_64-w64-mingw32-nm \ + AR=x86_64-w64-mingw32-ar RANLIB=x86_64-w64-mingw32-ranlib + +Dependencies: + +This package depends on GNU libiconv. (See the file DEPENDENCIES.) Before +building this package, you need to build GNU libiconv, in the same development +environment, with the same configure options, and install it ("make install"). -- cgit v1.2.1