This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestions for improving gcc 3.2 compilation speed?



I like gcc, however I think this pinpoints the problem of using it for real software developement, it's painfully slow and getting slower all the time. When I get some time I will also look if I can give some help in making it faster, however this is a problem since people are starting to abandon gcc, ( for everything exept trivial stuff ).


Gcc would need a 50 % speedup in this case to be deemed usefull, and I believe a speedup of 100%-200% would be necessary in order to put it on par with most other compilers.

I just want to point out this in retrospect of the previous discussion about compilation speed as a real issue, not to restart the debate.

/ Lars Segerlund.

Russell Shaw wrote:
Anna Fowles-Winkler wrote:

Hi Kaveh,

I ran gcc 3.2.2 with the patch, and it took 15 minutes instead of 18 minutes to compile my application. That's a slight improvement, but I guess my ideal running time would be closer to 10 minutes. Am I dreaming? :)

I think at this point I'm either going to go back to 2.95.3, or consider a commercial compiler.

Thanks to everyone for your support.


Your build-system may be very slow if it uses 'make' and a lot of shell
scripts and does a lot of file/header searching.

Try upgrading to scsi HDDs or try a better/faster build method (jam):
  http://www.perforce.com/jam/jam.html







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]