lkml.org 
[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From



On Wed, 6 Sep 2000, Martin MaD Douda wrote:

> Problem: every bloody line will go through the parser. There is too many
> lines. Compilation is realy slow today. I'm affraid this approach would
> make it worse. Note that 2.4.0-test7 has more than 2.75 milion lines.
> Or did you mean drivers will be (optionally?) excluded from this
> compile-it-all-and-then-optimize-it-away?

Do you always compile all *.c files? Notice that it doesn't equate to ifdefs
- e.g. if you have CONFIG_EXT2 undefined ext2 will not be compiled at all,
but there is no instance of CONFIG_EXT2 anywhere in *.[ch].

As for reducing compile time, try to feed the current tree through cpp and see
how much is included (and ignored) by preprocessor. I mean, just check how
much do we actually include and how little do we really need...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.201 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site