configure: error: cannot guess build type; you must specify one

configure: error: cannot guess build type; you must specify one

我对尝试使用 cygwin 安装 GMP-Package 时发生的错误有疑问。

我已经通读了其他主题,但是 - 建议的解决方案无法帮助我解决问题。

我已经安装了 automake-package 并且我尝试按照另一个 thread 中的建议进行操作,但是我不知道在哪里插入 config.guess 因为我不明白

your build tree

有人可以帮我解决我的问题吗?

非常感谢!

方案一(强烈建议) 安装 gmp cygwin 软件包:

gmp                                     6.1.0-3p1
libgmp-devel                            6.1.0-3p1
libgmp10                                6.1.0-3p1
libgmpxx4                               6.1.0-3p1

解决方案 2(建立你自己)

它需要软件包:Autoconf、automake、libtool

wget https://gmplib.org/download/gmp/gmp-6.1.0.tar.lz
tar -xf gmp-6.1.0.tar.lz
cd  gmp-6.1.0
autoreconf -ifv 
./configure
make