From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: problem using DJGPP Date: Sat, 20 Dec 1997 00:16:05 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 22 Message-ID: <349B5495.7212@cs.com> References: <349B5DFB DOT 7A6A AT chaffee DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp231.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 | ---------------------------------------------------------------------