Date: Wed, 15 Jul 1998 10:44:37 +0300 (IDT) From: Eli Zaretskii To: Aaron Walker cc: djgpp AT delorie DOT com Subject: Re: using header file In-Reply-To: <35AC0D31.CC3EFBDB@iconmedia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 14 Jul 1998, Aaron Walker wrote: > I included some header files that I conjured up to go with an app I'm > working on and put it in the same directory as the source. When I try > to compile, gcc spits out that it can't find the header files. Do they > have to be in the djgpp\include directory to work? If you include them with #include "foo.h", then the compiler looks in the current directory first, then in djgpp\include. If you say #include , it doesn't look in the currect directory, but you can force it to do so by adding -I. to the GCC compilation command.