mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Fix build with mingw.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2016-11-27 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
Assume the available C compiler supports ANSI C. Remove K&R C cruft.
|
Assume the available C compiler supports ANSI C. Remove K&R C cruft.
|
||||||
|
|||||||
@@ -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
|
Building 32-bit binaries for mingw is achieved through the following
|
||||||
preparation, configure, and build commands:
|
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
|
export PATH
|
||||||
./configure --host=i686-w64-mingw32 --prefix=/usr/local/mingw32 \
|
./configure --host=i686-w64-mingw32 --prefix=/usr/local/mingw32 \
|
||||||
CC=i686-w64-mingw32-gcc \
|
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
|
Building 64-bit binaries for mingw is achieved through the following
|
||||||
preparation, configure, and build commands:
|
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
|
export PATH
|
||||||
./configure --host=x86_64-w64-mingw32 --prefix=/usr/local/mingw64 \
|
./configure --host=x86_64-w64-mingw32 --prefix=/usr/local/mingw64 \
|
||||||
CC=x86_64-w64-mingw32-gcc \
|
CC=x86_64-w64-mingw32-gcc \
|
||||||
|
|||||||
Reference in New Issue
Block a user