Date: Sun, 15 Feb 1998 13:21:07 +0200 (IST) From: Eli Zaretskii To: Bill Bouma cc: djgpp AT delorie DOT com Subject: Re: Include files must be below compiling directory? In-Reply-To: <34E3A350.44FBD5C4@geoplex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 12 Feb 1998, Bill Bouma wrote: > I just installed djgpp 2.1 and am having some trouble getting > it to find my header files. It is as though it is ignoring the > -I option on the command line. For example: > > > gcc -I/src/templates -c v2d.cpp > In file included from v2d.cpp:4: > V2D.H: List.H: No such file or directory (ENOENT) I cannot reproduce this problem. -I/src/templates works for me. Please post the shortest program that shows this behavior, together with the exact GCC command line you used to compile it, and any other relevant info (see section 6.12 of the DJGPP FAQ list). > This seems like an unnecessary and ridiculous restriction!? You have already decided that this is a real bug (as opposed to your own cockpit error). Please don't jump to conclusions before the reason(s) for this are understood. > Definitely put this in the FAQ. People who are new to djgpp > but are not new to programming are going to be confused and > pissed off by this, as I am. The FAQ includes only problems that are known to exist. Nobody has yet complained about such a wierd problem, and it doesn't happen for me. I'd guess that this problem is caused by some snafu related to your setup, or to the way you invoke GCC. But if it turns out that there is something here to let users know about, I will add it to the next FAQ release.