Compilation time (was Re: GCC 3.3)

Phil Edwards phil@jaj.com
Thu May 1 20:42:00 GMT 2003


On Thu, May 01, 2003 at 08:20:12PM +0200, Scott Wheeler wrote:
> On Wednesday 30 April 2003 20:45, Phil Edwards wrote:
> >     compiling Qt without -ftime-report takes about an hour (and about
> >     thrice that time with -ftime-report) on my pentium 4 (2GHz) box
> >     running a GNU/Linux system.
> > 
> > Five hours falls into the hellishly long category.
> 
> Well, that's four hours (1 + 3) not five, but yes that's quite a while.

Five builds.  Each takes one hour.  Five hours.


> However, it really shouldn't take that long.  Qt specifically is built as 
> (primarily) one shared library, plus some tools and plugins.  If you just 
> build that shared library on my machine (1.4 GHz Athlon, Linux) it takes just 
> under 11 minutes of CPU time for a "normal" build of just that shared 
> library.  That roughly doubles to compile all of Qt (tools and plugins, but 
> not examples).

Okay, 11 minutes per build is certainly feasible, so that core library
might be a good test.  I'll add it to the list of possibilities.


Thanks!
Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Gcc mailing list