This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: stdio vs. diag_printf
Grant Edwards wrote:
>
> > In saying that, diag_printf will still always be much smaller as it doesn't
> > have to support the zillion other things that printf has to as part of the
> > standards baggage.
>
> I had presumed so -- I also don't really want the buffering that goes along
> with the stdio package.
You can disable that with the CYGSEM_LIBC_STDIO_WANT_BUFFERED_IO option
("Buffered I/O"). That also in turn disables
CYGSEM_LIBC_STDIO_DYNAMIC_SETVBUF which is what has a requirement on
malloc.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault