From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: New C Programmer Problem Date: Thu, 19 Dec 1996 19:53:52 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 31 Message-ID: <32BA0DD0.4A89@cs.com> References: <32B9BAC8 DOT 5C26 AT bc DOT cybernex DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gregg AT gate DOT cybernex DOT net DJ-Gateway: from newsgroup comp.os.msdos.djgpp Gregg Foti wrote: > > My error message is "exam.c:1: c:\digpp\studio.h: no such file or > directory (ENOENT)" > > I do have the file studio.h in my directory(digpp) where I am compiling > from with the command "gcc exam.c." Umm.... you seem to have some sort of spelling confusion there. It's , not . If this isn't your problem, then the following most likely is: > set djgpp=c:\djgpp\djpp.env > set path=%path%;c:\djgpp\bin That should say 'djgpp.env', not 'djpp.env'. Computers are very unforgiving of spelling errors. I suggest you download the DJGPP Frequently Asked Questions list (v2/faq202b.zip from the same place you got DJGPP) and read chapter 6. If these suggestions don't solve your problem, please post a complete system report as outlined in section 6.12. Also include the exact command line you use to compile (unless you use RHIDE). -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | "Starting flamewars since 1993" | http://www.cs.com/fighteer | | *** NOTICE *** This .signature is generated randomly. | | If you don't like it, sue my computer. | ---------------------------------------------------------------------