我正在尝试在我的 Win7 64 位机器上编译ECL 10.4.1 ,但遇到了问题。
我已经尝试使用mingw32/MSYS和mingw-w64 / MSYS进行构建,使用链接到此处的确切包。两者都失败了。
使用 mingw32: ./configure 通过,make 失败如下:
gcc -DECLDIR="\"/usr/local/lib/ecl-10.4.1\"" -I. -Ic:/my_home/ecl-10.4.1/build -I/c/my_home/ecl-10.4.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY -g -O2 -Dmingw32 -c -o main.o tmp.c
In file included from c:/my_home/ecl-10.4.1/src/c/main.d:20:0:
c:/my_home/ecl-10.4.1/build/ecl/ecl.h:71:4: error: #error "The Windows ports cannot be built without threads."
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/c/my_home/ecl-10.4.1/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory `/c/my_home/ecl-10.4.1/build'
make: *** [all] Error 2
使用 mingw-w64: ./configure 失败如下:
[...]
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking gmp/gmp.h usability... no
checking gmp/gmp.h presence... no
checking for gmp/gmp.h... no
configure: error: Can not find GMP header.
有人对其中任何一个有什么建议吗?或者我可以尝试另一个构建系统吗?(除了 Cygwin 之外,我出于许可原因避免使用。)