I have gotten this error "gcc: error: CreateProcess: No such file or directory" from time to time. I decided to make this thread to record the probable causes.
From Google spaces in paths have been reported to cause this issue.
Also, Google says bad compiler installations.
And, Google implies bad System Environment Path Variable value can cause this problem.
My current issue was fixed by removing a System Environment Variable.
The System Environment Variable was GCC_ROOT likely installed by a MinGW Installation from wxPack. I am guessing that this would result in only that MinGW GCC installation working correctly.