This is the mail archive of the ecos-discuss@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]

Footprint of an ecos application


I have made several configurations with a lightly modified TwoThreads application.
We use the Motorola MPC8265A (PowerPC)

After conversion to binary the resulting sizes are:

 55074 bytes with disabled Network; CYGDBG_USE_ASSERTS and
 CYGPKG_INFRA_DEBUG are set to 0.

 217290 bytes with enabled Network; CYGDBG_USE_ASSERTS and
 CYGPKG_INFRA_DEBUG are set to 0.

Note that the TwoThreads application does not use any functions of the network stack.
I thought the network stack needs 100kbytes (only from rumours), but judging from my
example it seems to be more like 160kB. This is very surprising as I used the
gc-sections linker command which is supposed to remove all un-referenced symbols.

Did anybody observe similar sizes?

Any hints are appreciated

BR
   Reinhard


-- 
 Ing. Reinhard Jessich                Phone: +43/1/81150/2395
 Software Design                      Fax: +43/1/81150/3169
 Frequentis Nachrichtentechnik GmbH   A-1120 Wien, Spittelbreitengasse 34
 http://www.frequentis.com            eMail: reinhard.jessich@frequentis.com


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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