From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17356 invoked by alias); 26 Mar 2003 14:57:08 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 17349 invoked from network); 26 Mar 2003 14:57:07 -0000 Subject: Re: Download size From: "Gary D. Thomas" To: Jose Paul Cc: eCos Maintainers In-Reply-To: <001b01c2f3a6$9ecb00a0$0f00a8c0@jose> References: <001b01c2f3a6$9ecb00a0$0f00a8c0@jose> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: Wed, 26 Mar 2003 14:57:00 -0000 Message-Id: <1048690626.27601.6450.camel@hermes.chez-thomas.org> Mime-Version: 1.0 X-SW-Source: 2003-03/txt/msg00063.txt.bz2 On Wed, 2003-03-26 at 07:47, Jose Paul wrote: > hello All, > > > > Here is the output of a load command. > > Here the total size mentioned is 5385551,but total sent is 744188. > > How can I calculate the total download size?. > > Please let me know if anybody have any Idea?. > Use the "size" program. For example: [gthomas@hermes mad-0.14.2b-latest]$ ls -l /work/viper2/test_app -rwxr-xr-x 1 gthomas wheel 6806974 Mar 23 08:57 /work/viper2/test_app [gthomas@hermes mad-0.14.2b-latest]$ powerpc-eabi-size /work/viper2/test_app text data bss dec hex filename 1246404 1579204 702356 3527964 35d51c /work/viper2/test_app You can see that the ELF file is 6.8MB, but then download size will only be about 2.8MB (TEXT+DATA) -- .--------------------------------------------------------. | Mind: Embedded Linux and eCos Development | |--------------------------------------------------------| | Gary Thomas email: gary.thomas@mind.be | | Mind ( http://mind.be ) tel: +1 (970) 229-1963 | | gpg: http://www.chez-thomas.org/gary/gpg_key.asc | '--------------------------------------------------------'