I am getting this error whenever I try to run GCC outside of its installation directory (E:\MinGW\bin).
So, let's say I am in E:\code and have a file called one.c. Running:
gcc one.c -o one.exe will give me this error:
gcc: CreateProcess: No such file or directory
The only workaround is to navigate to its installation directory, run gcc from there, and specify all the other paths. My environmental variable Path contains E:\MinGW\bin.
Any suggestions to fixing this problem? I am running Windows XP SP3.