This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
RE: printf problem
- From: "Banit Agrawal" <banit at cse dot iitkgp dot ernet dot in>
- To: "Aleksandar Zivkovic" <Aleksandar dot Zivkovic at micronasnit dot com>
- Cc: <newlib at sources dot redhat dot com>
- Date: Fri, 9 Aug 2002 19:03:17 +0530
- Subject: RE: printf problem
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?