summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2016-11-27 19:57:34 +0100
committerBruno Haible <bruno@clisp.org>2016-11-27 19:57:34 +0100
commit152c76427fb0bbb132103acfdde83c71e416c43d (patch)
tree8fb9e4d8ef026832e5b1ba65f7de4e4ef8c48895
parent13df195c6217c43981e79515515ba8fda13a644d (diff)
downloadgperf-152c76427fb0bbb132103acfdde83c71e416c43d.tar.gz
Fix build with mingw.
-rw-r--r--ChangeLog5
-rw-r--r--README.windows4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 687b364..ac4be48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2016-11-27 Bruno Haible <bruno@clisp.org>
+ Fix build with mingw.
+ * README.windows: Augment PATH for mingw, so that it finds libstdc++.
+
+2016-11-27 Bruno Haible <bruno@clisp.org>
+
Assume the available C compiler supports ANSI C. Remove K&R C cruft.
* lib/getopt.h: Assume 'const' is defined. Use ANSI C prototypes.
* lib/getopt.c: Assume 'const' is defined. Use ANSI C prototypes.
diff --git a/README.windows b/README.windows
index baf6435..ecda548 100644
--- a/README.windows
+++ b/README.windows
@@ -30,7 +30,7 @@ There are three ways to create binaries of this package for Microsoft Windows:
Building 32-bit binaries for mingw is achieved through the following
preparation, configure, and build commands:
- PATH=/usr/local/mingw32/bin:$PATH
+ PATH=/usr/local/mingw32/bin:/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
export PATH
./configure --host=i686-w64-mingw32 --prefix=/usr/local/mingw32 \
CC=i686-w64-mingw32-gcc \
@@ -43,7 +43,7 @@ There are three ways to create binaries of this package for Microsoft Windows:
Building 64-bit binaries for mingw is achieved through the following
preparation, configure, and build commands:
- PATH=/usr/local/mingw64/bin:$PATH
+ PATH=/usr/local/mingw64/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH
export PATH
./configure --host=x86_64-w64-mingw32 --prefix=/usr/local/mingw64 \
CC=x86_64-w64-mingw32-gcc \