diff options
author | Bruno Haible <bruno@clisp.org> | 2016-11-27 19:57:34 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2016-11-27 19:57:34 +0100 |
commit | 152c76427fb0bbb132103acfdde83c71e416c43d (patch) | |
tree | 8fb9e4d8ef026832e5b1ba65f7de4e4ef8c48895 | |
parent | 13df195c6217c43981e79515515ba8fda13a644d (diff) | |
download | gperf-152c76427fb0bbb132103acfdde83c71e416c43d.tar.gz |
Fix build with mingw.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | README.windows | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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 \ |