Date: Sun, 25 Aug 1996 09:14:32 +0200 (IST) From: Eli Zaretskii To: "Kenneth D. Moad" Cc: djgpp AT delorie DOT com Subject: Re: Cannot find includes In-Reply-To: <321EABA9.2969@jove.acs.unt.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 24 Aug 1996, Kenneth D. Moad wrote: > when I try to compile the program tells me that it cannot find includes > that are definetlly there. I think it isn't configured to search the > correct directories. Can anyon tell me how to make it search the right > path? Right now it searches /usr/local/bin and such but I am on a pc > machine! The most probable cause of this is that you didn't set the DJGPP environment variable correctly. Type the following from the DOS prompt: set DJGPP=c:/djgpp/djgpp.env (If on your machine DJGPP is installed in a directory other than C:\DJGPP, change the above accordingly.) If that makes your problems go away, add the above line to your AUTOEXEC.BAT and live happily ever after. Btw, this is all described in the ``Getting started'' section of the `readme.1st' file. I suggest you read that file. If the above doesn't help, you might have other problems. Please add -v to the gcc command line and post everything that it prints, so the cause of your problem could be correctly identified.