compiling kernel files with gcc

Nifty Hat Mitch mitch48 at sbcglobal.net
Mon Nov 8 09:18:03 UTC 2004


On Wed, Nov 03, 2004 at 09:11:57PM -0800, abhijit kumar wrote:
> Date: Wed, 3 Nov 2004 21:11:57 -0800
> From: abhijit kumar <kumarabhijit at gmail.com>
> To: James Kosin <jkosin at beta.intcomgrp.com>, fedora-list at redhat.com
> Cc: 
> Subject: Re: compiling kernel files with gcc
> Reply-To: abhijit kumar <kumarabhijit at gmail.com>,
>         For users of Fedora Core releases <fedora-list at redhat.com>
> 
> sir!
>    There is no problem in compiling with Makefile.But, as i 've
> mentioned in my last mail, i want to understand the
> "/usr/src/linux/kernel/sched.c' .I want to play with it's parameters
> and will try to include a pointer such that i can calculate waiting
> time for process in the waiting queue(as, i guess this is n't already
> implemented. if it is please give me some idea.) . For this purpose i
> want to know that what vlaues of differnet MACRO has been used by the
> sched.c . so; please send me information about it.

So what happens if you modify the Makefile in this area
to cpp the file into a text file as well and gcc the file
into an object file?

The "c" pre precessor (cpp) is the tool that does the macro expansion
prior to passing the result to the compiler.



-- 
	T o m  M i t c h e l l 
	spam unwanted email.
	Spam, good eats.




More information about the fedora-list mailing list