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)
Phil Edwards <phil@jaj.com> writes:
| On Wed, Apr 30, 2003 at 08:34:05PM +0200, Gabriel Dos Reis wrote:
| > Phil Edwards <phil@jaj.com> writes:
| > |
| > | Anything in particular?
| >
| > I would suggest qt-3.1.1 for C++ sources -- no fancy things though.
|
| The following sentence that you snipped was
|
| I don't much care what, but its build time
| multiplied by 5 needs to not be hellishly long.
|
| and in another message, you 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.
|
| But there may be hope: how much time does "no fancy things" shave from
| that hour of build time?
The "fancy things" was referring to C++ features used in Qt. The
sources all tend to be made on the same scheme: heavy class hierarchy,
small codes in .cc files, many things at global scope, basic template
usage (well this part may depend on whether you specify -stl or not).
| If building the non-fancy parts of Qt only takes
| 10 minutes, then that's a very viable option.
Some take less that 10 min, some (very few) more than 10 min.
As I said, they tend to ressemble each other in the set of used
features.
-- Gaby