All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] printf in u-boot cannot support %f
@ 2011-01-11 13:13 ITechnology
  2011-01-11 13:59 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: ITechnology @ 2011-01-11 13:13 UTC (permalink / raw)
  To: u-boot

Hi,
The codes below:
   ...
  	double result1 =  3.14;
	printf("result1:%f\n", result1);// error 
 .... 
  turn out:
	result1:%f
    How can I  get the correct result? Thanks a lot!
The U-boot version is:
=> ver
U-Boot 2008.10 (Jul 15 2009 - 21:56:05) MPC512X
    I wan to a little more complex program in standalone mode in u-boot. Is it possilbe to port g-libc to u-boot standalone mode?
Tanks.
 Best regards,
Michael Franklin

                 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-11 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 13:13 [U-Boot] printf in u-boot cannot support %f ITechnology
2011-01-11 13:59 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.