如果gmp的configure脚本不方便支持Windows,在github上有一个名叫gmp-cmake的项目,提供了cmake脚本以供使用。值得注意的是,该库将gmp数据类型封装为了C++的class实现RAII。 https://github.com/skeeto/gmp-cmake
feat(pkg): compat.gmp 三平台支持 —— 去掉 install()/autotools,改为纯描述符
Activity
tz12323 commentedon Aug 9, 2026
如果gmp的configure脚本不方便支持Windows,在github上有一个名叫gmp-cmake的项目,提供了cmake脚本以供使用。值得注意的是,该库将gmp数据类型封装为了C++的class实现RAII。
https://github.com/skeeto/gmp-cmake
Sunrisepeak commentedon Aug 9, 2026
feat(pkg): compat.gmp 三平台支持 —— 去掉 install()/autotools,改为纯描述符