This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Blackfin & printf()/fprintf()



Sebastian Dressler wrote:
> 
> Ok, it seems now, that the sbrk call is broken, i've tested that with
> malloc ... it fails. So i'll hang in there and fix it first. Maybe it
> works then...
> 

Well...i've fixed sbrk and malloc behaves correct now, but nothing changed
in the behavior of printf. I've debugged it, and found out, that something
goes wrong, when vfprintf checks the fp. I assume that stdin/out/err is not
initialized.

After making some google-research i found out, that maybe _sinit() should be
called or the the _REENT structure should be initialized. Since i don't use
reentrancy, i'm a bit confused now...

Sebastian
-- 
View this message in context: http://www.nabble.com/Blackfin---printf%28%29-fprintf%28%29-tp16275318p16301394.html
Sent from the Sourceware - newlib list mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]