This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation time (was Re: GCC 3.3)
- From: Phil Edwards <phil at jaj dot com>
- To: Scott Wheeler <wheeler at kde dot org>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>,Matt Austern <austern at apple dot com>,Daniel Berlin <dberlin at dberlin dot org>,Mark Mitchell <mark at codesourcery dot com>,"Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc at gcc dot gnu dot org,bkoz at redhat dot com
- Date: Thu, 1 May 2003 15:20:28 -0400
- Subject: Re: Compilation time (was Re: GCC 3.3)
- References: <20030429193040.GA30316@disaster.jaj.com> <m3n0i7deci.fsf@uniton.integrable-solutions.net> <20030430184550.GA9916@disaster.jaj.com> <200305012020.17612.wheeler@kde.org>
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