Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 16:41:22 -0700
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        Wes Peters <wes@softweyr.com>
Cc:        arch@FreeBSD.org, bde@FreeBSD.org
Subject:   Re: Local driver include files. 
Message-ID:  <200101232341.f0NNfMs93027@aslan.scsiguy.com>
In-Reply-To: Your message of "Tue, 23 Jan 2001 10:03:58 MST." <3A6DB97E.5EED550@softweyr.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101232341.f0NNfMs93027>