diff --git a/ChangeLog b/ChangeLog index 687b364..ac4be48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-11-27 Bruno Haible + + Fix build with mingw. + * README.windows: Augment PATH for mingw, so that it finds libstdc++. + 2016-11-27 Bruno Haible Assume the available C compiler supports ANSI C. Remove K&R C cruft. 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 \