[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Include path in module compilation



On Wed, Feb 04, 2004 at 08:32:38AM +0000, Gilad Benjamini wrote:
> Hi,
> My common sense says that kernel code (be it in a
> module or not) should compile only with kernel
> headers.

Correct. 

> Looking at kernel newbies (and other places as well)
> I see that kernel modules are compile with the
> -I/path/to/kernel/headers.

and -nostdinc, I imagine? please provide a URL to the example you
saw. If it's wrong, we'll fix it. 

Cheers, 
Muli 
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

"the nucleus of linux oscillates my world" - gccbot@#offtopic

Digital signature