help!who know the smallest application code size using RTEMS?
joel.sherrill at OARcorp.com
Fri May 25 12:09:32 UTC 2001
red-eye at 263.net wrote:
> Hello,who can tell me the smallest application program(.exe)
> code size using RTEMS.
> i use ERC32CCS.
> i compile the samples/minimum ,and get .exe file without debug information ,it is 73k bytes,Can it become smaller?
> if i want to get a smallest(in code size) application program using RTEMS ,how can i do? step by step!
How was RTEMS configured? You may have optional things like POSIX and
You should also look at the symbol table (num) for the .exe to see what
are being pulled in. Sometimes BSPs reference things they don't have to
have an impact on the minimum footprint.
Also remember that you are on a RISC architecture and that minimum.exe
not just the RTOS -- it includes BSP startup, shutdown, hardware
any vectoring support, spurious interrupt handlers, reentrant C library
etc. It is a baseline for applications on a target board -- not simply
of executive size.
> i am vexation !
> thanks alot
> ÊýÂë²úÆ·ÐÂÉÏÊÐ£¬¿á http://shopping.263.net/category21.htm
> ¾«Æ·Ð¡¼ÒµçÓÏÄÈÈÂô http://shopping.263.net/category23.htm
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users