[ECOS] Libraries for printf

Jonathan Larmour jifl@eCosCentric.com
Fri May 23 07:01:00 GMT 2003

Michele Portolan wrote:
> I'm building eCos for Leon and I would like to use the "printf" standard
> function: do I need to include all ISO C libraries?
> If I use the "minimal" template I got a "Warning, implicit declaration of
> function printf" and an executable file os 100k, while to avoid the warning
> I must include all ISO C and reach 450kbits.
> It is a little big, isn't it?

Another thing not mentioned by Andrew is that the file size as listed by 
"ls -l" or the explorer window (on windows) isn't the true size of what 
would be loaded.

In your case use the command:
   sparc-rtems-size yourexecutable


eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

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

More information about the Ecos-discuss mailing list