va-ppc.h and powerpc-eabi-gcc

Mike Ji hji at netscreen.com
Fri Jul 12 08:59:05 EST 2002


Hi, folks,

I got in trouble with the "printf"...

* The cross-compiled I built is: powerpc-eabi-gcc.

* When I compile/build my codes, I also forced the compiler to use EABI by
"-meabi" usage.
* With "-v", I did see the default predefined Macro of "__PPC__" and
"CALLSYSV".

With those two macros, my codes will link the "va-ppc.h"(Please see the
stdarg.h).

The result is: my printf can't work properly when with complex input
parameters.

Would you guys give me some help if you happen to know this area?

Thanks a million,

Mike,


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list