sprintf allocates mem from heap if use %f
David Williams (davidwilliams@ozemail.com.au)
Tue, 16 Nov 1999 08:53:13 +1100
Hi All,
I discovered that when I use floating point formats in calls to sprintf()
(eg %f) then a small amount of dynamic memory is required. My system does
not require any dynamic memory but I would like to be able to use sprintf()
to format floating point values. Is there anyway of not using dynamic
memory, short of patching the library (newlib) or writing my own floating
point formating routine.
TIA
David Williams.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com