From: Bruno Haible Date: Sat, 22 May 2010 23:39:34 +0000 (+0200) Subject: Add installation instructions for mingw-w64. X-Git-Tag: v0.18.1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e2e9a6d879bb158ecca70711a328e7e8b56777;p=thirdparty%2Fgettext.git Add installation instructions for mingw-w64. --- diff --git a/ChangeLog b/ChangeLog index 5d9926b31..6e267cb04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-22 Bruno Haible + + * README.woe32: Explain how to build 64-bit mode binaries. + Reported by Rob . + 2010-05-24 Bruno Haible Use the newest regex module from gnulib. diff --git a/README.woe32 b/README.woe32 index 28430ae84..03a1ef9c5 100644 --- a/README.woe32 +++ b/README.woe32 @@ -28,11 +28,19 @@ and configure commands: CPPFLAGS="-Wall -I/usr/local/mingw/include" \ LDFLAGS="-L/usr/local/mingw/lib" -The -mno-cygwin tells the cygwin compiler and linker to build for mingw. -The -I and -L option are so that packages previously built for the +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