Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: large code generation with vsprintf

2005-01-28 by gene_klein2000

Hoi Tim,

It would be great if you wanna mail it to me.

THANKS,

Gene.

--- In lpc2000@yahoogroups.com, "tah2k" <tah2k@y...> wrote:
> 
> Hi Gene-
> 
> I ran into the same problem a few years ago when I was trying to use 
> sprintf in my boot block. It turns out that most of the code is 
> related to floating point conversions. I wrote my own 'tprintf' ('t' 
> for Tim) that does everything except floating point and it is very 
> tight and small. I can email it to you if youlike.
> 
> -Tim
> 
> --- In lpc2000@yahoogroups.com, "gene_klein2000" <gene_klein@h...> 
> wrote:
> > 
> > Hi,
> > 
> > I hope someone will help me with the next problem.
> > 
> > 
> > When I'm using vsprintf the code generated by th compiler
> > grows with about 30kB. 
> > Can anyone explain what I can to keep the code small and
> > still be using th vsprintf.
> > 
> > I'm using the gnuarm compiler.
> > 
> > 
> > Thanks,
> > 
> > Gene

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.