From owner-freebsd-arch Tue Jan 23 15:41:41 2001 Delivered-To: freebsd-arch@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 8A0E337B6A2; Tue, 23 Jan 2001 15:41:24 -0800 (PST) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.0/8.9.3) with ESMTP id f0NNfMs93027; Tue, 23 Jan 2001 16:41:22 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200101232341.f0NNfMs93027@aslan.scsiguy.com> To: Wes Peters Cc: arch@FreeBSD.org, bde@FreeBSD.org Subject: Re: Local driver include files. In-Reply-To: Your message of "Tue, 23 Jan 2001 10:03:58 MST." <3A6DB97E.5EED550@softweyr.com> Date: Tue, 23 Jan 2001 16:41:22 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >"Justin T. Gibbs" wrote: >> >> > >> >No, it's not. What does that have to do with -nostdinc? >> >> Its actually -I-. > >Either way, you can't use the system include files to build the kernel, or >even world. What if you're doing a cross-compile for another architecture, >or another system version? I'm not saying that -I- is unnecessary, only that the build system should allow local includes. >Adding a -I or three in a directory doesn't harm anything. But adding just the ones for my driver to the whole build seems wrong. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message