title: Yet Another MinGW "gcc: error: CreateProcess: No such file or directory"
body: <p>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: <strong>gcc: CreateProcess: No such file or directory</strong></p>
  
  <p>It is a common bug, and I have tried all the solutions I found, without success.</p>
  
  <p>In particular, (following <a href="https://stackoverflow.com/questions/3848357/gcc-createprocess-no-such-file-or-directory">CreateProcess: No such file or directory</a>) I have tried to:</p>
  
  <ol>
  <li>[EDITED] Add <strong>C:\MinGw\libexec\gcc\mingw32\4.7.2</strong> to my system PATH  </li>
  <li><p>Uninstall and re-install gcc through mingw-get CLI:</p>
  
  <p>mingw-get remove mingw32-gcc<br>
  mingw-get install mingw32-gcc</p></li>
  </ol>
  
  <p>Other suggestions?</p>
  
  <p>EDIT: verbose gcc output:</p>
  
  <pre><code>&gt; gcc -v helloWorld.c
  Using built-in specs.
  COLLECT_GCC=gcc
  COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-
  wrapper.exe
  Target: mingw32
  Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,obj
  c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
  mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-
  with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
  Thread model: win32
  gcc version 4.7.2 (GCC)
  COLLECT_GCC_OPTIONS='-v' '-mtune=i386' '-march=i386'
  cc1plus -quiet -v -iprefix c:\mingw\bin\../lib/gcc/mingw32/4.7.2/
  OPTIONS.C -quiet -dumpbase OPTIONS.C -mtune=i386 -march=i386 -auxbase OPTIONS -
  version -o C:\Users\elvis\AppData\Local\Temp\cc4fWSvg.s
  gcc: error: CreateProcess: No such file or directory
  </code></pre>