From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24693 invoked by alias); 12 Sep 2003 21:50:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24682 invoked from network); 12 Sep 2003 21:50:53 -0000 Received: from unknown (HELO trinity-auth.correio.tnext.com.br) (200.222.67.102) by sources.redhat.com with SMTP; 12 Sep 2003 21:50:53 -0000 Received: (qmail 1557 invoked by uid 0); 12 Sep 2003 21:50:51 -0000 X-Analyze: Velop Mail Shield v0.0.3 Received: from unknown (HELO pervalidus) (fredlwm@200.141.117.37) by trinity with SMTP; 12 Sep 2003 21:50:51 -0000 Date: Fri, 12 Sep 2003 21:50:00 -0000 From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <0@pervalidus.tk> To: cygwin@cygwin.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@imap.fastmail.fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SW-Source: 2003-09/txt/msg00796.txt.bz2 On Fri, 5 Sep 2003, Fr=E9d=E9ric 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=3Di686. I think it's > the same for Cygwin (i686-pc-cygwin), no ? I was wrong here. On Linux all 3 default to -mcpu=3Dpentiumpro -march=3Di386. 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). --=20 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/