Larger Compilations / Speed

Gerald Pfeifer gerald@pfeifer.com
Wed Aug 13 13:59:00 GMT 2003


On Wed, 13 Aug 2003, Frank-René Schäfer wrote:
> When doing larger compilations (e.g. compiling linux kernels) lots of time
> is wasted just by loading and unloading gcc in and out of  memory.
> Wouldn't it
> be conceivable to have gcc being load into to background and waked up
> again and again for new compilations ? For collections of small source
> files, this would prbably result in a remendous speed-up.

This is a good observation, and in fact Per Bothner has been working on
such an approach ("compile server") for Apple.

If you search the mailing list archives of the gcc and gcc-patches lists,
you should fine a couple of relevant messages.

Gerald
-- 
Gerald Pfeifer (Jerry)   gerald@pfeifer.com   http://www.pfeifer.com/gerald/



More information about the Gcc mailing list