printf problem

Banit Agrawal banit@cse.iitkgp.ernet.in
Fri Aug 9 06:27:00 GMT 2002


Are you using USART or using any system calls.. There must be some
problem with the lower stub function.._write or _write_r. You need
to define _write_r (reentrant version), & analyse the passed
arguments.

you can also have a look at these funstions to debug.
1) __swrite
2) fflush

Hope this helps.

-Banit Agrawal


-----Original Message-----
From: newlib-owner@sources.redhat.com
[mailto:newlib-owner@sources.redhat.com]On Behalf Of Aleksandar Zivkovic
Sent: Friday, August 09, 2002 3:01 PM
To: newlib@sources.redhat.com
Subject: printf problem


I ve ported Newlib to some board (MDE9500) with lexra's lx4280.
Everything woks just fine except printf(), which does nothing. puts() is ok.
What is going on? Any help?



More information about the Newlib mailing list