This is the mail archive of the ecos-maintainers@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Download size


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       |
'--------------------------------------------------------'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]