From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27565 invoked by alias); 4 Apr 2008 13:17:27 -0000 Received: (qmail 27551 invoked by uid 22791); 4 Apr 2008 13:17:26 -0000 X-Spam-Check-By: sourceware.org Received: from mail176c2.megamailservers.com (HELO mail176c2.megamailservers.com) (69.49.111.176) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Apr 2008 13:17:07 +0000 X-Authenticated-User: jiri.gaisler.com Received: from [192.168.0.23] (c-d2c9e253.93-16-64736c12.cust.bredbandsbolaget.se [83.226.201.210]) (authenticated bits=0) by mail176c2.megamailservers.com (8.13.6.20060614/8.13.1) with ESMTP id m34DH1ji022037; Fri, 4 Apr 2008 09:17:03 -0400 Message-Id: <200804041317.m34DH1ji022037@mail176c2.megamailservers.com> Message-ID: <47F62A69.2000300@gaisler.com> Date: Fri, 04 Apr 2008 13:23:00 -0000 From: Jiri Gaisler User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080201 SeaMonkey/1.1.8 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Huguenin_Fr=E9d=E9ric?= CC: ecos-discuss@ecos.sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Ecos size X-SW-Source: 2008-04/txt/msg00071.txt.bz2 Make sure you measure the executable with the 'size' utility (e.g. sparc-elf-size app.exe), and not just looking at the file size. Most of the file size is debugging symbols, which are not loaded into the prom. Jiri. Huguenin Frédéric wrote: > Hello, > > I want to use ecos with 500kbytes of ROM. I just want to use a 150kbytes C > program. But when I compile, the size of my executable is 900kbytes. > I would want to know how can I reduce the size of eCos. What don't I need ? > thanks > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss