[mc1322x] compiling webserver-ipv6 in contiki/examples folder

Chol Su Kang cholsukang at gmail.com
Tue Apr 27 16:16:38 EDT 2010


I have compiled webserver-ipv6 using:
   $ make TARGET=mc1322x
in contiki-2.4/examples folder.
The output are hugh due to some of modules it included from gnu library:
    Module name         size (in hex)
  =============   ===========
    malloc                   0x533c
    printf                      0x27a0
    vfprintf                    0x44a8
    vfwprintf                  0x516c
    vfscanf                   0x51f8
    gconv_simple         0x5db8


I saw printf from cpu/mc1322x/lib as well as from glib. I am not sure
why printf is doubly included in link.
Has someone looked at this issue before?
I saw a few discussion in email archive, but I did not get the clear
idea how to prevent linker from including unnecessary modules.

Regards,

Charles



More information about the mc1322x mailing list