On macOS, we recommend using Homebrew (https://brew.sh/) to install the
dependencies. We also have a Homebrew Tap available at
https://github.com/CVC4/homebrew-cvc4 .
+To build a static binary for macOS, use:
+`./configure.sh --static --no-static-binary`.
### Cross-compiling for Windows
```
HOST=x86_64-w64-mingw32 ./contrib/get-win-dependencies
- ./configure --win64 --static <configure options...>
+ ./configure.sh --win64 --static <configure options...>
cd <build_dir> # default is ./build
make # use -jN for parallel build with N threads
Features:
The following flags enable optional features (disable with --no-<option name>).
--static build static libraries and binaries [default=no]
- --static-binary enable/disable static binaries
+ --static-binary statically link against system libraries
+ (must be disabled for static macOS builds) [default=yes]
--proofs support for proof generation
--optimized optimize the build
--debug-symbols include debug symbols