compile time using 2.96

lrtaylor@micron.com lrtaylor@micron.com
Thu Nov 6 20:48:00 GMT 2003


The best solution would probably just be to get a faster machine.
Otherwise, if you're compiling with optimizations turned on, turning
them off will speed compilation.  For example, if you're compiling the
-O or -O2 options, take them out.  -O2 can significantly slow
compilation.  Compiling for speed only has to do with run-time speed,
not how quickly it compiles.

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Bob Rossi
Sent: Thursday, November 06, 2003 9:42 AM
To: gcc-help@gcc.gnu.org
Subject: compile time using 2.96

Hi,

I am compiling a QT application using g++ version 2.96. It takes about
15 minutes to compile all the files. What do you think the best solution
would be to speed up the time? 

Would a different version be faster?
Would some cli arguments tell g++ to optimize for speed?

Any help would be appreciated.

(Please CC Me)

Thanks,
Bob Rossi



More information about the Gcc-help mailing list