This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Printf doesn't result in a call to write
- From: "Matt Gessner" <mgessner at Avidyne dot com>
- To: <newlib at sourceware dot org>
- Date: Mon, 11 Sep 2006 12:31:57 -0400
- Subject: Printf doesn't result in a call to write
Hi, all,
I'm using gcc 4.1.1 and newlib 1.14
I've supplied appropriate write(), open(), etc calls for my powerpc-eabi
host.
I've found that calling printf with a string results in a call to puts,
but somehow, write() is never getting invoked. Can someone suggest what
I've done wrong or what I need to do?
I've not written any of the _r routines. Also, I can't find any
reference to any library startup I need to invoke when my application
comes up (it's a completely standalone app -- no OS, simply ISR's and
application code).
Would someone please advise?
Thanks,
Regards,
Matt Gessner