From owner-cvs-all Wed Jan 9 12:20:40 2002 Delivered-To: cvs-all@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id B0B4B37B422 for ; Wed, 9 Jan 2002 12:20:09 -0800 (PST) Received: (qmail 20531 invoked from network); 9 Jan 2002 20:20:08 -0000 Received: from unknown (HELO server.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Jan 2002 20:20:08 -0000 Received: from laptop.baldwin.cx (root@laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g09KK9K58395; Wed, 9 Jan 2002 12:20:09 -0800 (PST) (envelope-from john@laptop.baldwin.cx) Received: (from john@localhost) by laptop.baldwin.cx (8.11.6/8.11.6) id g09KJZY06170; Wed, 9 Jan 2002 12:19:35 -0800 (PST) (envelope-from john) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020110003133.X8745-100000@gamplex.bde.org> Date: Wed, 09 Jan 2002 12:19:35 -0800 (PST) From: John Baldwin To: Bruce Evans , peter@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/colldef Makefile Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Ruslan Ermilov Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-Jan-02 Bruce Evans wrote: > On Wed, 9 Jan 2002, Ruslan Ermilov wrote: > >> On Tue, Jan 08, 2002 at 12:13:23AM -0800, John Baldwin wrote: >> > jhb 2002/01/08 00:13:23 PST >> > >> > Modified files: >> > usr.bin/colldef Makefile >> > Log: >> > Use -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a >> > cross-build environment. >> > >> > Revision Changes Path >> > 1.18 +1 -1 src/usr.bin/colldef/Makefile >> > >> Why do we need -I${.CURDIR}? AFAIK, -nostdinc doesn't enforce -I-. > > parse.y #includes "common.h", and gcc-3.mumble apparently broke the > magic that makes it possible for common.h to be found (the generated > file parse.c contains a #line statement that gives the full path to > the source file parse.y, and compilers are apparently supposed to use > this to resolve ""-style includes). If it builds ok on gcc3.1, then it is ok for this to be backed out and I will just stick it in the sparc64 tree. Peter, can you test if colldef builds ok with gcc3.1? > Bruce -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message