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

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

Re: [avr-gcc-list] Problems with float numbers


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Problems with float numbers
Date: Wed, 29 Jun 2005 16:48:53 +0200 (MET DST)

Jose Javier Segura Juarez <address@hidden> wrote:

> Joerg, i agree with you but i get the following when use -Wl, -u,vfprintf
> -lprintf_flt:

> avr-g++ -mmcu=atmega128 -I.  -I/opt/cdk4avr/avr/include  -I../../cmc216L04 -g
> -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall
> -Wstrict-prototypes -Wa,-adhlns=flashled2.o  
> -Wp,-M,-MP,-MT,flashled2.o,-MF,.dep/flashled2.elf.d flashled2.o   --output
> flashled2.elf -minit-stack=__stack 
> -Wl,-Tdata=0x800100,--defsym=__heap_end=0x8010FF -lm -Wl,-u,vfprintf
> -lprintf_flt -L../../cmc216L04 -lcmc216L04

Please put your own -L/-l options first, followed by the system
libraries (-lprintf_flt -lm, in that order).  The -Wl,-u,vfprint must
be anywhere before -lprintf_flt.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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