Re: [patch 2/7] enable unit-at-a-time optimisations for gcc4

From: Sam Ravnborg
Date: Fri Jan 06 2006 - 13:47:39 EST


On Fri, Jan 06, 2006 at 12:18:42PM -0500, Jeff Garzik wrote:
>
> ACK, with a note: gcc also supports limited program-at-a-time -- you
> pass multiple .c files on the same command line, and specify a single
> output on the command line.
>
> It would be nice to update kbuild to do this for single directory
> modules....

How much will it gain?
It takes some kbuild hacking I think.

Also why should we care so much for multi directory modules?
They can be adopted as needed if we introduce it.
xfs and aic7xxx springs to my mind.

I do not recall we have modules that uses .o files created from another
kbuild file - which is the only situation that matters here.

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