I have installed MinGW C compiler in Windows 8 (64 bit) through the GUI installer. But when I try to compile a C program, gcc says: gcc: CreateProcess: No such file
I have the same problem.
I have a startgcc.bat in my folder.
It's OK for me just after remove double quotation marks in my PATH assignment.
my bat script:
@title gcc-mingw
@rem @cd /d %~dp0
@rem below line will fail and got error: gcc.exe: error: createprocess: no such file or directory
@rem @set path="C:\mingw64\bin";%path%
@rem below lines works ok without double quotation marks
@set path=C:\mingw64\bin;%path%
@set path=C:\mingw64\opt\bin\;%path%
@cmd