[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] printf using floats
From: |
Trampas |
Subject: |
RE: [avr-gcc-list] printf using floats |
Date: |
Mon, 14 Aug 2006 22:17:01 -0400 |
I finally figured it out. The -Wl,-u,vfprintf options need to be added to
linker flags not the CFLAGS.
Trampas
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Trampas
Sent: Monday, August 14, 2006 9:37 PM
To: address@hidden
Subject: [avr-gcc-list] printf using floats
I don't seem to be able to get the printf working with floats.
Here is my flags:
## Compile options common for all C compilation units.
CFLAGS = $(COMMON)
CFLAGS += -Wall -gdwarf-2,-u, vfprintf -lprintf_flt -lm
-DF_CPU=16000000ULULULULULULUL -Os -fsigned-char
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
Does anyone have a suggestion?
Thanks
Trampas
_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
Re: [avr-gcc-list] [AVR] RTL prologue/epilogue ver.3, Anatoly Sokolov, 2006/08/20