Hi, I want to learn Vim editor and I'm trying to compile a C file. I've installed MinGW and I've added gcc.exe to System Path:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Arquivos de programas\TortoiseSVN\bin;c:\Arquivos de programas\Microsoft SQL Server\100\Tools\Binn\;c:\Arquivos de programas\Microsoft SQL Server\100\DTS\Binn\;C:\MinGW\bin\
Within Vim, I did: :!gcc code.c -o gcc.exe A cmd window open with the following text:
C:\WINDOWS\system32\cmd.exe /c gcc -Wall code.c -o code.exe
gcc: code.c: No such file or directory
gcc: no input files
shell returned 1
Hit any key to close this window...
What's wrong? Thank you.