Hi,
I've made a port of eCos-3.0 to stm3210b eval board by stripping some elements off the stm3210e port. It builds successfully. With minimal set of packages (libc_stdio, libc_stdlib, libc_string, libc_i18n) "hello world" example's size is
$ arm-eabi-size hello.elf
   text    data     bss     dec     hex filename
   5172      88    1936    7196    1c1c hello
but if I try to convert elf to binary with
$ arm-eabi-objcopy -Obinary hello.elf hello.bin
resulting binary image occupy 402654296 bytes (384 MBytes!).
toolchain is ecoscentric-gnutools-arm-eabi-20081213-sw.cygwin.tar.bz2
ecos version ecos-3.0.cygwin.tar.bz2
Please help me to find the cause.
Best regards, Max.

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

Reply via email to