Date: Sun, 5 Oct 1997 19:12:00 +0200 (IST) From: Eli Zaretskii To: VBPeyton cc: djgpp AT delorie DOT com Subject: Re: Rookie mistakes II In-Reply-To: <19971005155601.LAA11947@ladder02.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 5 Oct 1997, VBPeyton wrote: > Unfortunately, when I try to compile basic C programs with gcc, I get > an error message stating "file.c:1: stdio.h No such file or directory > [ENOENT]", > where file.c is the name of the file I am compiling. Since you installed the FAQ, why not look into it whenever you have problems? This problem is discussed in section 8.1 of the FAQ. Please read it (it tells much more than my short answer below). Your problem is the following two lines: > set djgpp = c:\djgpp\djgpp.env > set path = c:\djgpp\bin;%path% Do NOT leave blanks around the `=' character! You are effectively defining variables "djgpp " and "path " (with the traling blanks). Replace these two lines with the following, reboot and see if that helps: set djgpp=c:\djgpp\djgpp.env set path=c:\djgpp\bin;%path% (This assumes that you installed DJGPP in C:\DJGPP; if not, change the above as appropriate.)