0
wblg@WBL /c/MinGW/Test

$ gcc a.c

gcc.exe: error: CreateProcess: No such file or directory

I am using MinGW on windows 7 and I have encounter this problem. I have even set and rebooted the environment on my computer, the only work around is copying (gcc.exe, libgmp-10.dll, libmpc-2.dll, libmpfr-1.dll) under the same folder with my a.c.

please advice.

Ryan M
  • 269
  • 2
  • 11
user1998844
  • 449
  • 8
  • 18
  • Q: Have you tried going into My Computer, Properties and changing your PATH in "System variables"??? Setting PATH is explained here: http://www.computerhope.com/issues/ch000549.htm – paulsm4 Jan 22 '13 at 02:32
  • Yes, i have done that + i reboot the system as well. – user1998844 Jan 22 '13 at 07:18
  • 1
    Suggestion: 1) reinstall MinGW (it's entirely possibly that you missed a component on the initial download/install, 2) Read this link: [gcc: CreateProcess: No such file or directory](http://stackoverflow.com/questions/3848357/gcc-createprocess-no-such-file-or-directory), and 3) [this one](http://stackoverflow.com/questions/3908475/gcc-exe-createprocess-no-such-file-or-directory-error) – paulsm4 Jan 22 '13 at 07:22

0 Answers0