From janssen.tomas at hotmail.com Wed Apr 2 07:52:26 2025 From: janssen.tomas at hotmail.com (Tomas Janssen) Date: Wed, 2 Apr 2025 05:52:26 +0000 Subject: To build GMP e.g. 6.3.0 using MSVC toolset Message-ID: Hello, There are very few resources currently available that explain how to compile newest version of GMP using MSVC toolset. I have sucessfully to do it by the build script https://github.com/jiangjianshan/msvc-pkg/blob/main/packages/gmp/build.sh for static library and https://github.com/jiangjianshan/msvc-pkg/blob/main/packages/gmp/build-2.sh for shared library. Surely, these two build scripts work with the other files *.diff and sync.sh in the same folder of packages/gmp in msvc-pkg. If you read the README.md in https://github.com/jiangjianshan/msvc-pkg . To build GMP, e.g. 6.3.0 using MSVC toolset, you can do in following way: git clone https://github.com/jiangjianshan/msvc-pkg.git cd msvc-pkg mpt gmp