【发布时间】:2016-04-23 19:14:23
【问题描述】:
我想在 Windows 上使用 GMP (https://gmplib.org/),所以我下载了名为 gmp-6.1.0 的文件夹并尝试在其上使用 mingw32-make.exe。它打印:“mingw32-make: *** No targets specified and no makefile found. Stop.”但是文件夹中有一个Makefile.in。当我尝试“mingw32.exe Makefile.in”时,它打印出“Makefile.in 无事可做”。
我真的不知道在这里做什么,因为这里有一个人:How to compile makefile using MinGW? 说我只需要 mingw32.exe makefile.in
【问题讨论】:
-
如 GMP 文档中所述,您应该首先启动“configure”命令以生成最终的 makefile,该文件将命名为“makefile”,以便“mingw32-make”命令能够正常工作。
-
是的,但是我如何在 Windows 上做到这一点?
-
好的,我发现我需要 MSYS 来执行此操作。谢谢你的建议。
标签: windows makefile mingw autotools gmp