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
Post a Comment