[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test rig first cut
On Wednesday 09 July 2003 02:17, Ethan Benson wrote:
> On Tue, Jul 08, 2003 at 02:56:46PM -0700, Remco Treffkorn wrote:
>
> > First test results: printf and friends seems to have trouble.
> > printf("Hello, World..\n");
> > prints correctly.
> > printf("A cube has %d sides\n", 6);
> > prints not six, but a very high number.
> > I'am on it...
>
> interesting, i know vsnprintf works since i was able to test that via
> LD_PRELOAD (make prom-libc.so).
>
It's the varargs stuff that does not work right. We get varargs.h from gcc:
[remco@io stdio]$ cat vsnprintf.d
stdio/vsnprintf.o stdio/vsnprintf.d: stdio/vsnprintf.c \
/usr/lib/gcc-lib/ppc-yellowdog-linux/3.2.2/include/stdarg.h \
/usr/lib/gcc-lib/ppc-yellowdog-linux/3.2.2/include/stddef.h \
include/inttypes.h include/stdint.h include/string.h include/limits.h \
/usr/lib/gcc-lib/ppc-yellowdog-linux/3.2.2/include/limits.h \
include/stdio.h include/sys/types.h sysdeps/ppc/include/bits/types.h \
sysdeps/ppc/../generic/include/bits/types.h
Any thoughts?
Cheers,
Remco
--
Remco Treffkorn (RT445)
HAM DC2XT
remco@rvt.com (831) 685-1201