[coldfire-gnu-discuss] Code size for "Hello World"
Mark Mitchell
mark at codesourcery.com
Fri Jun 27 20:12:33 UTC 2008
Corrin Meyer wrote:
> Indeed, removing the printf() does make it much smaller. It was just
> since I had seen examples using it and building it to run for the exact
> board that I had, I was hoping that it would work for. I suppose
> something must of changed in the interim.
>
> So, 40k when using printf() doesn't sound out of line?
No, not really. We'd like to get it down, of course, and we are working
on that, but printf is never going to be really small. The
format-parsing code is necessarily complex; think about things "%.*g"...
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
More information about the coldfire-gnu-discuss
mailing list