Mail Archives: djgpp/1997/12/20/09:31:42
Bryan Hurley wrote:
>
> I have recently downloaded DJGPP but cannot make it work. I have put the
> lines Set DJGPP = C:\djgpp\djgpp.env and set path =C:\djgpp\bin; in my
> autoexec.bat file as stated in the FAQ but whenever I try to compile a
> program I get an error saying it cannot find stdio.h. I know stdio.h is
> in the DJGPP directory. Why can't the compiler find it? Can anyone help
> me? I had hoped this compiler could help me learn to program in C.
> Thanks in advance for any help you can give.
Your error is simple: you should not put spaces around the '='
character in the environment settings. This causes the environment
variable to be named "DJGPP " instead of "DJGPP". Try again without
spaces, and it should work.
--
---------------------------------------------------------------------
| John M. Aldrich | "Autocracy is based on the assumption|
| aka Fighteer I | that one man is wiser than a million |
| mailto:fighteer AT cs DOT com | men. Let's play that over again, |
| http://www.cs.com/fighteer | too. Who decides?" - Lazarus Long |
---------------------------------------------------------------------
- Raw text -