[kbuild-devel] [PATCH] Precompiled headers

2007-05-31 Thread Vegard Nossum
Hello, I decided to try out the header precompilation feature of newer GCCs to see if it would speed up kernel building. Following is a patch which 1) adds "headers" target to top-level makefile, 2) allows and compiles .h files into .h.gch using gcc. When gcc compiles the normal C files, it looks

Re: [kbuild-devel] [PATCH] Precompiled headers

2007-05-31 Thread Arnd Bergmann
On Thursday 31 May 2007, Vegard Nossum wrote: > By the way, according to the GCC manual [1], "Only one precompiled > header can be used in a particular compilation", which, if I interpret > it correctly, might make header precompilation useless for the kernel > anyway. But here's my attempt (I hope