[patch] newlib long long printf for rtems

Aaron J. Grier aaron at frye.com
Thu Jan 4 01:17:32 UTC 2001


On Wed, Jan 03, 2001 at 05:06:42PM -0800, Nick Clifton wrote:
> Hi Aaron,
> 
> : this trivial patch adds support for long long (%lld) formatting to 
> : newlib's printf and friends when configured for RTEMS.  I do not have
> : commit priviliges, so somebody will have to check this in for me.
> 
> Are you sure that this is a good idea for all RTEMS targeted systems ?
> It does increase the code size which may not be wanted on some
> systems.

I asked Joel Sherrill about it on the rtems-users list:

> is there any reason why newlib doesn't enable long long support in
> printf for RTEMS?

to which Joel replied:

> Very simple, it was overlooked and no one noticed until now. :)
>
> Submit a patch.

so I did.  for future reference, should all rtems-specific patches be
sent through Joel?

-- 
  Aaron J. Grier   |    Frye Electronics, Tigard, OR   |   aaron at frye.com



More information about the users mailing list