www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/15/06:23:43

Date: Sun, 15 Feb 1998 13:21:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Bouma <bouma AT geoplex DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Include files must be below compiling directory?
In-Reply-To: <34E3A350.44FBD5C4@geoplex.com>
Message-ID: <Pine.SUN.3.91.980215132048.27889J-100000@is>
MIME-Version: 1.0

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<DIR> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019