diff options
author | Clark Barrett <barrett@cs.stanford.edu> | 2017-03-14 10:40:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-14 10:40:26 -0700 |
commit | 8ae19f695b59445f049020984b87e34433a38ad9 (patch) | |
tree | 33352dcad0dcc929121419665cc2b840066e2d95 | |
parent | e5f3b5e6cac210eef1e105aacf1e821b386a72c6 (diff) | |
parent | b36ffd6c40b0f037e780f71a2d5c10ff53cbee14 (diff) |
Merge pull request #132 from 4tXJ7f/fix_mingw64
Fix MinGW-w64 build
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | contrib/Makefile.am | 2 | ||||
-rwxr-xr-x | contrib/win-build (renamed from contrib/win32-build) | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 3d645b24e..d2c08661b 100644 --- a/configure.ac +++ b/configure.ac @@ -999,7 +999,7 @@ fi # Checks for libraries. -AC_SEARCH_LIBS([clock_gettime], [rt], +AC_SEARCH_LIBS([clock_gettime], [rt pthread], [AC_DEFINE([HAVE_CLOCK_GETTIME], [1], [Defined to 1 if clock_gettime() is supported by the platform.])], [AC_LIBOBJ([clock_gettime])]) diff --git a/contrib/Makefile.am b/contrib/Makefile.am index ad3b6f220..ff12eb7e7 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -12,7 +12,7 @@ EXTRA_DIST = \ depgraph \ get-antlr-3.4 \ mac-build \ - win32-build \ + win-build \ run-script-smtcomp2014 \ run-script-cascj7-fnt \ run-script-cascj7-fof \ diff --git a/contrib/win32-build b/contrib/win-build index 290d537eb..dee9a8af2 100755 --- a/contrib/win32-build +++ b/contrib/win-build @@ -8,7 +8,7 @@ if [ $# -ne 0 ]; then echo "usage: `basename $0`" >&2 echo >&2 - echo "This script attempts to build CVC4 for Win32 using mingw." >&2 + echo "This script attempts to build CVC4 for Win32/64 using mingw-w64." >&2 exit 1 fi @@ -18,9 +18,9 @@ if [ -z "$HOST" ]; then echo "WARNING: Using default HOST value: $HOST" echo "WARNING: You should probably run this script like this:" echo "WARNING:" - echo "WARNING: HOST=i586-mingw32msvc win32-build" + echo "WARNING: HOST=i686-w64-mingw32 win-build" echo "WARNING:" - echo "WARNING: (replacing the i586-mingw32msvc with your build host)" + echo "WARNING: (replacing the i686-w64-mingw32 with your build host)" echo "WARNING: to ensure the script builds correctly." echo "WARNING:" fi @@ -99,7 +99,7 @@ echo echo ============================================================================= echo echo 'Now just run:' -echo " ./configure --enable-static-binary --disable-shared --host=$HOST LDFLAGS=\"-L`pwd`/gmp-$GMPVERSION/lib -L`pwd`/antlr-3.4/lib -L`pwd`/boost-$BOOSTVERSION/lib\" CPPFLAGS=\"-I`pwd`/gmp-$GMPVERSION/include -I`pwd`/antlr-3.4/include -I`pwd`/boost-$BOOSTVERSION/include\" ANTLR_HOME=\"`pwd`/antlr-3.4\"" +echo " ./configure --enable-static-binary --disable-shared --host=$HOST LDFLAGS=\"-L`pwd`/gmp-$GMPVERSION/lib -L`pwd`/antlr-3.4/lib -L`pwd`/boost-$BOOSTVERSION/lib\" CPPFLAGS=\"-I`pwd`/gmp-$GMPVERSION/include -I`pwd`/antlr-3.4/include -I`pwd`/boost-$BOOSTVERSION/include\" --with-antlr-dir=\"`pwd`/antlr-3.4\" ANTLR=\"`pwd`/antlr-3.4/bin/antlr3\"" echo ' make' echo echo ============================================================================= |