This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stdio vs. diag_printf


On Thu, Jul 13, 2000 at 12:36:54AM +0100, Jonathan Larmour 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.

I had found the floating point stuff and disabled that.  IIRC it was
somewhere between 10 and 20KB.

> 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.

-- 
Grant Edwards
grante@visi.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]