On Fri, 5 Sep 2003, Frédéric L. W. Meunier wrote: > I just switched to 3.2-3 and was impressed with the following: > > Cygwin -O2 -O2 + -Wl,-s -Os -Os + -Wl,-s > ------ > 2.95.3-10 15178 6656 15178 6656 > 3.2-3 26710 14336 26008 13824
3.3.1-1 18199 7680 17497 7168 I upgraded to the test 3.3.1-1 package. What a difference from 3.2-3. > Linux > ----- > 2.95.4.CVS 16475 7128 16283 6936 > 3.2.3 15885 6712 15427 6292 > 3.3.1 15802 6668 15320 6216 > > What's so different in 3.2-3 ? On Linux GCC 3.x produced > smaller binaries. On Cygwin the size doubled. > > On Linux all 3 compilers default to -march=i686. I think it's > the same for Cygwin (i686-pc-cygwin), no ? I was wrong here. On Linux all 3 default to -mcpu=pentiumpro -march=i386. I think it's the same on Cygwin. I tested with --verbose on 2.95.3-10 and 3.2.3-3, and -fsched-verbose on 3.3.1-1. > For the example I used lndir from XFree86 CVS. I packaged the > sources for it at > http://www.pervalidus.net/cygwin/lndir-CVS.tar.bz2 (9323 > bytes). -- How to contact me - http://www.pervalidus.net/contact.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/