尝试在windows下编译gnu目标c时,libgmp-10.dll丢失了

use*_*291 6 c gcc objective-c

我安装了GNUStep http://www.gnustep.org/experience/Windows.html但是在编译helloworld.m时我得到了libgmp-10.dll.

我该怎么做才能让它发挥作用?(我在Windows 7 64位上)

几个月前我已经让它工作了,虽然我认为我当时使用Vista 32位.

更新:在这里找到

https://rb.freedroid.org/r/1101/diff/?expand=1

166 
    Nota:, if an error window opens complaining about libgmp-10.dll missing, then you used a bugged version of the MinGW installer
167 
    (some DLLs are not correctly installed). To fix the problem, just type the following commands:
168 
     cp /mingw/bin/libgmp-10.dll /mingw/libexec/gcc/mingw32/4.5.2
169 
     cp /mingw/bin/libmpc-2.dll /mingw/libexec/gcc/mingw32/4.5.2
170 
     cp /mingw/bin/libmpfr-1.dll /mingw/libexec/gcc/mingw32/4.5.2
171 
     cp /mingw/bin/libiconv-2.dll /mingw/mingw32/bin
172 
     cp /mingw/bin/libintl-8.dll /mingw/mingw32/bin
Run Code Online (Sandbox Code Playgroud)

但我只在/ mingw/bin /中找到了libgmp-3.dll

Lum*_*umi 12

DLL没有丢失; 它可以在MinGW bin目录中找到.在我的系统上:

D:\Opt\MinGW32.11.11\bin\libgmp-10.dll
Run Code Online (Sandbox Code Playgroud)

通过将MinGW- bin目录添加到以下内容,可以轻松修复问题PATH:

set path=%path%;D:\Opt\MinGW32.11.11\bin
Run Code Online (Sandbox Code Playgroud)

现在编译器工作正常.