How to build mingw32-make

时间:2015-07-28 17:09:41

标签: windows gcc mingw

I've just build a gcc 5.2.0 on windows according to this material:
http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/
Everything went well. But then I've tried to build Qt with this newly built gcc and I'm getting an error that there is no mingw32-make. Checked directory and no, there isn't one.
But then I checked previously installed gcc, which was work of TDM, downloaded from:
http://tdm-gcc.tdragon.net/
and yes, in his build there is mingw32-make. So, the question is, how is it that he has that tool, and many other which are absent in my build are present in his?

1 个答案:

答案 0 :(得分:0)

如果你是从gcc5.2.0源代码创建的,那么你刚刚创建了gcc编译器及其所有必需的文件。例如gcc-5.2.0.exe, gcc.exe, g++.exe, etc.

gcc的MinGW运行时环境,其中包含mingw32-make.exe

如果您按照问题here中的链接进行操作,则使用cygwin make.exe进行构建。

下载mingw 32二进制文件runtime environment for gcc会更好 或

MinGW64 runtime environment for gcc

然后您拥有使用QT所需的所有文件。

如果您想从源代码创建mingw构建,首先需要MinGW runtime environment,然后您可以使用它来构建自己的mingw32-make.exe。