From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: help Date: 3 May 2001 22:40:16 GMT Organization: Aachen University of Technology (RWTH) Lines: 32 Message-ID: <9csmog$9h$1@nets3.rz.RWTH-Aachen.DE> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 988929616 305 137.226.32.75 (3 May 2001 22:40:16 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 3 May 2001 22:40:16 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.