How to use MinGW make with Vim on Windows

后端 未结 1 409
伪装坚强ぢ
伪装坚强ぢ 2021-02-10 04:55

I have installed Vim and MinGW on my machine, so I try to create Hello World then compile in in Vim and everything work fine. However when I type :make it show erro

相关标签:
1条回答
  • 2021-02-10 05:02

    Can you confirm that there is a make.exe in C:\MinGW\bin? I seem to remember that last time I installed mingw, it was called mingw32-make.exe.

    If there is no make.exe but there is a mingw32-make.exe, you'll have to change the 'makeprg' option:

    :set makeprg=mingw32-make
    :make
    
    0 讨论(0)
提交回复
热议问题