avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] fprintf of double?


From: Brian Dean
Subject: Re: [avr-gcc-list] fprintf of double?
Date: Sun, 23 Mar 2003 16:37:22 -0500
User-agent: Mutt/1.4i

On Sat, Mar 22, 2003 at 11:57:13PM -0800, Sander Pool wrote:

>       fprintf(stdout, "Double: %f\n", 0.1234);
> 
> Which also produces: "Double: ?".

By default you get fprintf()-lite, the non-floating point version.  To
get the floating point enabled printf(), link with '-Wl,-u,vfprintf
-lprintf_flt'.

-Brian
-- 
Brian Dean, address@hidden
BDMICRO - Maker of the MAVRIC ATmega128 Dev Board
http://www.bdmicro.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]