From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: compiler can't find stdio.h Date: Thu, 20 Nov 1997 23:42:13 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 31 Message-ID: <3474CAD5.6B2@cs.com> References: <01BCF44A DOT 3ED90AE0 AT gp-18 DOT budget DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp205.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 Guy Giesbrecht wrote: > > Hi Nate, > Thanks for the reply. > I've read README.1st up and down. Here's my autoexec.bat file: > @ECHO OFF > SET BLASTER=A220 I5 D1 T4 > SET PATH=C:\JAVA\BIN;C:\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\Perl\bin; > djgpp=c:\djgpp\djgpp.env This is the problem. You forgot to use the 'set' command in front of the environment variable setting. Change that line to: set djgpp=c:/djgpp/djgpp.env And it should work. (Note that some DJGPP programs seem to prefer forward slashes in the DJGPP environment variable rather than backslashes.) Surely you noticed that your 'environ.lst' didn't contain a DJGPP variable! Anyway, hth. -- --------------------------------------------------------------------- | John M. Aldrich | "Democracy is based on the assumption| | aka Fighteer I | that a million men are wiser than one| | mailto:fighteer AT cs DOT com | man. How's that again? I missed | | http://www.cs.com/fighteer | something." - Lazarus Long | ---------------------------------------------------------------------