Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Analyze: Velop Mail Shield v0.0.3 Date: Fri, 12 Sep 2003 18:50:50 -0300 (E. South America Standard Time) From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <0 AT pervalidus DOT tk> To: cygwin AT cygwin DOT com Subject: 3.3.1-1 "solved" it (was Re: Binaries compiled with GCC 3.2-3 much bigger than with 2.95.3-10 ?) In-Reply-To: Message-ID: References: X-X-Sender: fredlwm AT imap DOT fastmail DOT fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id h8CLqScg009010 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/