One small hint for compilation time

Jaime Torres jtorres at sia.es
Mon Mar 22 13:20:11 CET 2004


My goal is not to speed up compilation by 1/3, but to spped up compilation
time.

Last time I have compiled kde 3.2.1 I have used -Os (with gcc 3.3.3), not
-O2 neither -O3.

Disabling the -Wall is as speedy as redirecting the stderr and stdout to
>/dev/null ?

Regards.

> De: Luciano Montanaro [mailto:mikelima at virgilio.it]
> Enviado el: lunes, 22 de marzo de 2004 12:14
> 
> On Monday 22 March 2004 11:57, Dirk Mueller wrote:
> > On Monday 22 March 2004 10:41, Luciano Montanaro wrote:
> > 
> > > You may want to disable (or lower to just -O1) 
> optimizations, however.
> > 
> > So that it runs even slower on a slow machine? Great optimisation!
> > 
> > --disable-warnings should do what he wants. 
> > 
> 
> Well, Jaime said he wanted to speed up compilation by 1/3.
> 
> Do you think disabling warnings would do that? I seriously doubt it.
> 
> The warning are for the most part a side-effect of the 
> optimization analysis.
> 
> If compilation speed is the important factor, then reducing 
> the optimizations
> can really help. 
> 
> Luciano 
>  
> _______________________________________________
> Kde-optimize mailing list
> Kde-optimize at kde.org
> https://mail.kde.org/mailman/listinfo/kde-optimize
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-optimize/attachments/20040322/365d8c19/attachment.html


More information about the Kde-optimize mailing list