Printf doesn't result in a call to write
Matt Gessner
mgessner@Avidyne.com
Mon Sep 11 16:39:00 GMT 2006
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
More information about the Newlib
mailing list