diff options
author | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-16 18:49:26 +0900 |
---|---|---|
committer | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-30 00:39:06 +0900 |
commit | fcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch) | |
tree | 64cb17de3f41a2b6fef2368028fbd00349946994 /jni/iconv/README.woe32 |
Fresh start
Diffstat (limited to 'jni/iconv/README.woe32')
-rw-r--r-- | jni/iconv/README.woe32 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/jni/iconv/README.woe32 b/jni/iconv/README.woe32 new file mode 100644 index 0000000..f331fb3 --- /dev/null +++ b/jni/iconv/README.woe32 @@ -0,0 +1,37 @@ +Installation on Woe32 (WinNT/2000/XP/Vista, Win95/98/ME): + +Building requires the mingw or cygwin development environment (includes gcc). +MS Visual C/C++ with "nmake" is no longer supported. + +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 \ + CPPFLAGS="-mno-cygwin -Wall -I/usr/local/mingw/include" \ + CFLAGS="-mno-cygwin -O2 -g" \ + CXXFLAGS="-mno-cygwin -O2 -g" \ + LDFLAGS="-mno-cygwin -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 +same environment are found. The --host option tells the various +tools that you are building for mingw, not cygwin. |