This is the mail archive of the
ecos-maintainers@sources.redhat.com
mailing list for the eCos project.
Re: Download size
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Jose Paul <jose at exorindia dot com>
- Cc: eCos Maintainers <ecos-maintainers at sources dot redhat dot com>
- Date: 26 Mar 2003 07:57:06 -0700
- Subject: Re: Download size
- References: <001b01c2f3a6$9ecb00a0$0f00a8c0@jose>
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 at 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 at 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 dot thomas at mind dot be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'