This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Libraries for printf
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Michele Portolan <michele dot Portolan at imag dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 23 May 2003 03:57:59 +0100
- Subject: Re: [ECOS] Libraries for printf
- References: <005701c31943$0206a900$9881ab93@imag.fr>
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
HTH,
jifl
--
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