Suggestions for improving gcc 3.2 compilation speed?

Matt Austern austern@apple.com
Fri Feb 28 00:02:00 GMT 2003


On Thursday, February 27, 2003, at 03:05 PM, Anna Fowles-Winkler wrote:

> Hi,
>
> I've been running gcc 2.95.3 on a 1Ghz/512MB RAM PC running RedHat 
> 7.2. It takes 20 minutes to compile my application, so I recently got 
> a new computer to reduce the time I wait for compiles.  This new 
> computer is a 2.8 Ghz CPU/1GB RAM running RedHat 8.0.  Since RedHat 
> 8.0 comes with gcc 3.2 I figured I'd give it a try.  It takes 20 
> minutes to compile my application. (!!!)
>
> I'm a little frustrated that the compilation speed is so slow with gcc 
> 3.2, especially since this is a commercial application (i.e., this is 
> my job).  Is there anything I can do to improve the compilation speed? 
> Will newer gcc releases be as fast as gcc 2.95.3 (or faster)?  Or is 
> my best bet to stick with 2.95.3?

We're doing a lot of work on improving compilation speed for 3.3 and 
3.4.  We could always use more help, though!

			--Matt



More information about the Gcc mailing list