From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32161 invoked by alias); 4 Apr 2008 13:23:09 -0000 Received: (qmail 32131 invoked by uid 22791); 4 Apr 2008 13:23:09 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.184) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Apr 2008 13:22:44 +0000 Received: by nf-out-0910.google.com with SMTP id b21so33305nfd.16 for ; Fri, 04 Apr 2008 06:22:42 -0700 (PDT) Received: by 10.78.134.7 with SMTP id h7mr3541124hud.76.1207315358688; Fri, 04 Apr 2008 06:22:38 -0700 (PDT) Received: from ?10.0.0.9? ( [79.160.132.202]) by mx.google.com with ESMTPS id 20sm1750209huf.27.2008.04.04.06.22.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Apr 2008 06:22:37 -0700 (PDT) Message-ID: <47F62B2B.9060203@zylin.com> Date: Fri, 04 Apr 2008 13:46:00 -0000 From: Edgar Grimberg Reply-To: edgar.grimberg@zylin.com User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) 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/msg00072.txt.bz2 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 > > Is the size of the .elf that big? If you are building a ROM application, you can try to "objcopy -O binary" it to a bin file and see the size of that. Edgar -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss