1 使用Cygwin安装GMP和MFPR
- 1 安装Cygwin
Setup Environment
Install Cygwin, add the following packages to the default installation
gcc-core
gcc-g++
libgcc
m4
make #不知为何安装后在Cygwin根目录下搜不到make程序
cmake
bash
Add the following Environment Variable to the User PATH: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.15.26726\bin\Hostx64\x64
This is so you can use the lib command. Your lib.exe may be located elsewhere.
安装好Cygwin以及一些依赖以后,在其根目录(方便说明记为: CygwinRoot=“D:\CygwinRooto”)下的bin/minnty.exe是其终端入口,然后每次打开该终端,进入的是: C y g w i n R o o t / h o m e / CygwinRoot/home/ C

本文详细介绍了如何在Cygwin环境下安装并配置必要的开发工具,包括GCC、Make等,并逐步演示了如何编译安装GMP与MFPR库。此外,还特别说明了动态库与静态库的不同配置方法。
最低0.47元/天 解锁文章
2397

被折叠的 条评论
为什么被折叠?



