|
4 | 4 | # an API wrapper for a collection of SMT solvers: |
5 | 5 | # https://github.com/sosy-lab/java-smt |
6 | 6 | # |
7 | | -# SPDX-FileCopyrightText: 2024 Dirk Beyer <https://www.sosy-lab.org> |
| 7 | +# SPDX-FileCopyrightText: 2025 Dirk Beyer <https://www.sosy-lab.org> |
8 | 8 | # |
9 | 9 | # SPDX-License-Identifier: Apache-2.0 |
10 | 10 |
|
|
20 | 20 | # There are the following dependencies: |
21 | 21 | # - MinGW (install Ubuntu package: `mingw-w64`) |
22 | 22 | # - The MathSAT5 library for Windows64 as can be downloaded from http://mathsat.fbk.eu/download.html |
23 | | -# - MathSAT5 is linked against MPIR which aims to be compatible to GMP. |
24 | | -# Since 2017, MPIR is no longer developed. We use the precompiled `mpir.dll` from the MathSAT5 archive. |
| 23 | +# - MathSAT5 is linked against GMP. We use the precompiled `gmp.dll` from the MathSAT5 archive. |
| 24 | +# Previously, MathSAT5 used MPIR which aimed to be compatible to GMP. |
| 25 | +# Since 2017, MPIR was no longer developed, and since 2022, MPIR officially dead. |
25 | 26 | # When compiling our bindings, we use the header files from GMP. |
26 | 27 | # We do not actually need to compile it. However, this is a nice test, whether our build system works as expected. |
27 | 28 | # To build GMP, download GMP 6.3.0 from http://gmplib.org/ and run |
@@ -87,7 +88,7 @@ $CC -g -std=gnu99 -Wall -Wextra -Wpedantic -Wno-return-type -Wno-unused-paramete |
87 | 88 | -o $OUT_FILE -shared -Wl,-soname,$OUT_FILE \ |
88 | 89 | -D_JNI_IMPLEMENTATION_ -Wl,--kill-at \ |
89 | 90 | $JNI_HEADERS -I$MSAT_SRC_DIR -I$GMP_DIR -L$MSAT_LIB_DIR $SRC_FILES \ |
90 | | - -lmathsat $MSAT_BIN_DIR/mpir.dll -lstdc++ -lpsapi |
| 91 | + -lmathsat $MSAT_BIN_DIR/gmp.dll -lstdc++ -lpsapi |
91 | 92 |
|
92 | 93 | echo "Compilation Done" |
93 | 94 | echo "Reducing file size by dropping unused symbols..." |
|
0 commit comments