Newlib 1.8.1 vfprintf problem on embedded PowerPC

Roger Williams roger@coelacanth.com
Thu Jun 24 11:40:00 GMT 1999


>>>>> Mark Powell <medp@primag.co.uk> writes:

  > Do you have a working sbrk() and a heap set up?  The first call to
  > vfprintf mallocs a buffer to work with.

Yes, those seem to work properly: calls to sbrk() and malloc() return
good pointers to the heap, and I successfully malloc memory in my own
minimalist printf() function.

-- 
Roger Williams                         finger me for my PGP public key
Coelacanth Engineering Inc    consulting & turnkey product development
Middleborough, Massachusetts           wireless * datacomm * DSP * ATE
tel +1 508 947-5585 * fax +1 508 861-0278 * http://www.coelacanth.com/
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list