summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--README.woe328
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index fc8be25..bacfd36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-01 Bruno Haible <bruno@clisp.org>
+
+ * README.woe32: Put the -mno-cygwin option into CC and CXX.
+ Recommended by Paolo Bonzini and Eric Blake.
+
2009-08-30 Bruno Haible <bruno@clisp.org>
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add xstriconveh.
diff --git a/README.woe32 b/README.woe32
index 07c7260..6d7ea5f 100644
--- a/README.woe32
+++ b/README.woe32
@@ -23,10 +23,10 @@ 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"
+ CC="gcc -mno-cygwin" \
+ CXX="g++ -mno-cygwin" \
+ 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