Mail Archives: djgpp/2001/05/03/18:45:27
TopDogg962 AT aol DOT com wrote:
> when i put this in
> gcc hello.c -o hello.exe
> it gives me this message
> gcc.exe: hello.c: No such file or directory (ENOENT)
You have to be more specific. *How* did you "put that in"? Is there a
file hello.c in the current directory (should be visible by "dir
hello.c" at the same prompt where you typed the gcc command.)
> PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\WINDOWS\COMMAND;;C:\DJGPP\BIN;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\DJGPP\BIN
This path is slightly wrong, in two aspects:
*) The standard entries made by Windows now appear twice
*) DJGPP appears twice, close to the end of it.
It should better be at the start of it, and only appear once.
[...]
> PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;%path%;;C:\DJGPP\BIN
That line is wrong.
> SET PATH=3D%PATH%;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\DJGPP\BIN
... And this one, too.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -