Date: Thu, 30 Oct 1997 20:24:27 -0800 (PST) Message-Id: <199710310424.UAA26569@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: rqy1319 AT is4 DOT nyu DOT edu (Ryuji Yokoyama), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Help! Djgpp under Win95 Precedence: bulk At 04:38 10/30/1997 GMT, Ryuji Yokoyama wrote: >Hell All! > >I reinstalled Djgpp under Win95. It use to work, but this time, when >I try to compile, I got an error message "test.c:1: stdio.h: No such >file or directory (ENOENT). "test.c" is my source file, which doesn't >have any syntax error.(It is a just "Hello World" program). >I put "set DJGPP=C:\DJGPP\DJGPP.ENV" and "set >PATH=C:\DJGPP\BIN;%PATH%" lines in my autoexec.bat as readme.1st says. >Please somebody tell me how to solve the problem. First of all, make sure you really reinstalled everything. Make sure that the directory C:\DJGPP\INCLUDE exists and contains the headers (like stdio.h). If that works, compile with the `-v' switch and look at the list of directories that is printed. It should include c:/djgpp/include or something to that effect. If it does not, check that the `SET' lines in AUTOEXEC.BAT really do execute, by typing `set' and looking for the DJGPP variable in its output. Also verify that your DJGPP.ENV file is not corrupted, perhaps by reinstalling the original one. If none of these help, please post your AUTOEXEC.BAT, CONFIG.SYS, the output of `SET' (`SET >ENV.LST' and post ENV.LST), output of `gcc -v test.c', and perhaps your DJGPP.ENV file. Nate Eldredge eldredge AT ap DOT net