Is make no longer included with MinGW and/or MSYS?

前端 未结 3 2211
一生所求
一生所求 2021-02-07 12:03

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++

相关标签:
3条回答
  • 2021-02-07 12:23

    C:\Program files\xxx has spaces in it! Since shell scripts are involved, spaces are significant and have to be escaped. Hence this path will not work with mingw. The documentation recommends to install MingW in C:\MingW.

    0 讨论(0)
  • 2021-02-07 12:29

    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.

    0 讨论(0)
  • 2021-02-07 12:39

    Try gmake. Sometimes the GNU version of Make installs itself as gmake in order to distinguish from non-GNU Make.

    0 讨论(0)
提交回复
热议问题