From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18554 invoked by alias); 10 Nov 2005 10:16:43 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 18529 invoked by uid 22791); 10 Nov 2005 10:16:39 -0000 Received: from fep30-0.kolumbus.fi (HELO fep30-app.kolumbus.fi) (193.229.0.32) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 10 Nov 2005 10:16:39 +0000 Received: from [10.0.0.3] (really [81.197.132.163]) by fep30-app.kolumbus.fi with ESMTP id <20051110101636.ETZA12060.fep30-app.kolumbus.fi@[10.0.0.3]>; Thu, 10 Nov 2005 12:16:36 +0200 Message-ID: <43731F9C.9080206@mbnet.fi> Date: Thu, 10 Nov 2005 10:16:00 -0000 From: Kai Ruottu Reply-To: karuottu@mbnet.fi User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: karuottu@mbnet.fi CC: Frank Beesley , gcc-help@gcc.gnu.org Subject: Re: Updating powerpc-crosscompile environment from gcc-2.95.3 References: <43725835.4070503@aeroflex.com> <43726A38.4060506@mbnet.fi> <43727695.1090804@aeroflex.com> <4373136B.2070603@mbnet.fi> In-Reply-To: <4373136B.2070603@mbnet.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-11/txt/msg00152.txt.bz2 Kai Ruottu wrote: > If one has "some suitable" target C library, > the '--enable-shared --enable-threads' can be used, otherwise both > must be disabled and the result is a stripped GCC which maybe can > or can not compile the C library ok. One cannot be sure about this > without very deep understanding about the C library doings... I forgot to tell that the glibc-2.3.5 made with the stripped GCC and the glibc-2.3.5 made with the complete GCC were different in their library sizes, for instance the 'libc-2.3.5.so' was 1329938 bytes when produced with the stripped GCC but 1293873 bytes when produced with the complete GCC. The SuSE 10.0/ppc one was 1510896 bytes for their glibc-2.3.5-40 (the 32-bit library). Whether gcc-3.4.4 produces smaller code than gcc-4.0.2 (used in SuSE) or then there are other big changes in their own glibc-2.3.5... Comparing those sizes is almost everything one could do simply, but tools like 'nm' and 'objdump' could allow one to investigate the differences more deeply...