From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28383 invoked by alias); 10 May 2006 16:56:11 -0000 Received: (qmail 28374 invoked by uid 22791); 10 May 2006 16:56:10 -0000 X-Spam-Check-By: sourceware.org Received: from cenn.mc.mpls.visi.com (HELO cenn.mc.mpls.visi.com) (208.42.156.9) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 May 2006 16:56:08 +0000 Received: from rivatek.dnsalias.net (rrcs-67-52-41-51.west.biz.rr.com [67.52.41.51]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id 54A86839A for ; Wed, 10 May 2006 11:56:06 -0500 (CDT) Received: by rivatek.dnsalias.net (Postfix, from userid 1000) id DFAC454001; Wed, 10 May 2006 11:56:05 -0500 (CDT) To: ecos-discuss@ecos.sourceware.org From: Grant Edwards In-Reply-To: <20060510151944.GF11815@lunn.ch> References: <4461ADA1.5050103@webdyn.com> <20060510091234.GA11815@lunn.ch> <4461E29F.1030705@webdyn.com> <20060510145342.3518553FFF@rivatek.dnsalias.net> <20060510151944.GF11815@lunn.ch> Date: Wed, 10 May 2006 16:56:00 -0000 Message-Id: <20060510165605.DFAC454001@rivatek.dnsalias.net> Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Memory footprint X-SW-Source: 2006-05/txt/msg00084.txt.bz2 In gmane.os.ecos.general, you wrote: > On Wed, May 10, 2006 at 09:53:42AM -0500, Grant Edwards wrote: >> >> what does arm-elf-size say? >> > >> > $ arm-elf-size.exe a.out >> > text data bss dec hex filename >> > 41920 1512 8028 51460 c904 a.out >> > >> > I suppose that this means the binary will be 51460Kb in size? >> >> That means the binary will require 43432 bytes of ROM >> (41920+1512) and 9540 bytes of RAM (8028+1512). > > I suppose i should read the man page, but couldn't part of data be > rodata and so will not be copied to RAM at startup? > > [Goes and reads the man page] > > There is no mention of the rodata. Hum... I'm pretty sure the "text" number included rodata. -- Grant Edwards grante Yow! I just had a NOSE at JOB!! visi.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss