tags:

views:

201

answers:

2

Hello,

I am getting this error whenever I try to run GCC outside of it's installation directory (E:\MinGW\bin).

So, lets 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 it's 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.

Thanks in advance!

A: 

Add E:\MinGW\bin to the PATH variable.

ruslik
That's the first thing I did, but thanks anyway :/
Neuro-Commando