gcc - C program files compiling with VIM on windows10 -


is there need configure in order vim on win10 machine compiles c files?
of moment, vim throws me dos prompt following:

[no write since last change] c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot open output file a.exe: permission denied collect2.exe: error: ld returned 1 exit status  shell returned 1  press enter or type command continue 

add following _vimrc file

set makeprg=gcc\ -o\ %:r\ %\ -wall 

also, add bin directory of gcc compiler path.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -