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

Sam Ravnborg
2006-01-06T18:48:58Z

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