在Windows下编译gnu目标c时,objective-c-libgmp-10.dll丢失了

我安装了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

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

DLL没有丢失;它可以在MinGW-bin目录中找到.在我的系统上:
D:\Opt\MinGW32.11.11\bin\libgmp-10.dll

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

set path=%path%;D:\Opt\MinGW32.11.11\bin

现在编译器工作正常.

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...