是不是包括在MinGW和

是不是包括在MinGW和

本文介绍了是不是包括在MinGW和/或MSYS吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的Windows 7计算机上安装了MinGW和MSYS。我在我的路径中添加了 C:\Program Files(x86)\MinGW\bin 。例如 gcc g ++ 的工作,但 make 不。我在目录中查找,并且没有可执行文件 make ,即使我安装了所有组件。有一个名为 mingw32-make 的文件。还有其他文件前缀为 mingw32 - ,例如c ++,g ++,gcc,gcc-4.6.1和gfortran。但是,在 C:\Program Files(x86)\MinGW\msys\1.0\bin 中有 make c $ c>。

I installed MinGW and MSYS on my Windows 7 computer. I added C:\Program Files (x86)\MinGW\bin to my path. Commands such as gcc and g++ work, but make does not. I looked in the directory, and there is no executable called make, even though I installed all components. There is a file called mingw32-make. There are also other files prefixed with mingw32-, such as c++, g++, gcc, gcc-4.6.1, and gfortran. However, there is a make in C:\Program Files (x86)\MinGW\msys\1.0\bin.

如果我打开MinGW Shell并键入 make ,执行。但是,它不从Windows终端执行。

If I open the MinGW Shell and type in make, make executes. However, it does not execute from the Windows terminal.

这是有意的,还是我可能缺少其他可执行文件?我应该只是添加 C:\Program Files(x86)\MinGW\msys\1.0\bin 到我的路径?

Is this intentional, or could I be missing other executables as well? Should I just add C:\Program Files (x86)\MinGW\msys\1.0\bin to my path?

推荐答案

Yup,添加msys bin目录到你的路径(MinGW的bin目录后)。这正是MinGW shell做的,为什么它在那里工作。

Yup, add the msys bin directory to your path (after MinGW's bin dir). That's exactly what the MinGW shell does and why it works there.

这篇关于是不是包括在MinGW和/或MSYS吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 21:29