Mail Archives: djgpp/1997/10/05/13:15:12
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.)
- Raw text -