Subject: Re: CVS commit: src/usr.sbin/config
To: Havard Eidnes <he@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: source-changes
Date: 10/20/2003 10:32:10
On Mon, Oct 20, 2003 at 01:17:07AM +0200, Havard Eidnes wrote:
  | > Today's world cross-build has failed for me at the tools/config
  | > compilation stage with the error 'gram.h: No such file or
  | > directory'. To my uneducated guess, this is due to the latest
  | > revision of usr.sbin/config/Makefile which has changed CPPFLAGS to
  | > not include '-I.'. Is this a typo in a Makefile or is it just my
  | > fault?
  |
  | There's something strange going on here; it compiled for the i386
  | target, but failed for the sgimips target. One difference between
  | those is that one is gcc-3 and the other is gcc-2.
  |
  | For now I just added the -I. directive.

Weird; it compiled OK on i386 without -I.
I have seen a similar issues before; maybe gcc's semantics changed
slightly in where it looks for files.