This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: stdio vs. diag_printf
- To: Grant Edwards <grante at visi dot com>
- Subject: Re: [ECOS] stdio vs. diag_printf
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Thu, 13 Jul 2000 00:36:54 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <20000710215950.A3513@visi.com>
Grant Edwards wrote:
>
> IOW, does diag_printf require the stdio package? If not, I
> think this would, in turn, allow me to get rid of malloc() and
> its associated heap and posssibly some other stuff.
Out of interest, there is configury inside the libc package to remove the
overhead of using malloc, and other bloating things like floating-point
support in printf.
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.
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