Building GMP library with Visual Studio?

后端 未结 2 1975
旧时难觅i
旧时难觅i 2020-12-09 05:50

Is there an easy way to build the GMP (GNU Multiple Precision Arithmetic Library, http://gmplib.org) under Windows, using Visual Studio 2005? I tried to find information abo

相关标签:
2条回答
  • 2020-12-09 06:40

    MPIR is a valid alternative. Basically, the GMP folk didn't want to support building on Windows at all. Brian Gladman, as you can see, supported GMP building on Windows for a while. However, eventually he and others forked GMP and created MPIR. That wasn't the sole reason but it was a large driving factor and one of the key development principles of MPIR is it must build on Windows (as well as Linux and Mac).

    0 讨论(0)
  • 2020-12-09 06:52

    If you want to quickly get started with GMP on windows, I've shared a my Visual Studio project which uses prebuilt GMP: https://stackoverflow.com/a/38176221/1327178.

    0 讨论(0)
提交回复
热议问题