non-FP tasks
Ralf Corsepius
ralf.corsepius at rtems.org
Tue Jun 19 12:48:05 UTC 2007
On Tue, 2007-06-19 at 08:10 -0400, Kate Feng wrote:
> Till Straumann wrote:
>
> > For a long time I have been patching newlib
> > so that it dynamically switches to vfiprintf
> > when executed by a non-FP task.
> >
> > The patch also addresses setjmp/longjmp
> > (only saves/restores FP regs for FP tasks).
> >
> > Finally, the patch also addresses altivec.
> >
> > However: the patch addresses PPC only ATM.
> >
> > HTH
> > -- Till
> >
> > PS: originally created for newlib-1.13 but I
> > have used it on later versions, too.
>
> I used newlib-1.15.0 and gcc-4.1.1.
> In newlib/libc/machine/powerpc/configure :
>
> case $host in
> + powerpc*-*rtems*)
> + extra_objs="vfprintf.o vfscanf.o"
> + extra_sources="vfprintf.c vfscanf.c"
>
> I am not sure about the '$host', which I thought should be
> '$target'.
No, host is correct.
[Please read http://learn.to/quote]
Ralf
More information about the users
mailing list