[Top][All Lists]

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

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

From: Jose Javier Segura Juarez
Subject: Re: [avr-gcc-list] Problems with float numbers
Date: Wed, 29 Jun 2005 22:49:03 +0200
User-agent: Internet Messaging Program (IMP) 3.2.6

Cita de Joerg Wunsch <address@hidden>:

> Yeah, there's a configuration problem between GCC's libgcc.a and
> avr-libc's libm.a, but you're the first one to actually encounter
> this.
> Can you run that with -v added so we see the actual linker command
> line?

This is i get running the linker with -v option added:

Linking: flashled2.elf
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 -v -minit-stack=__stack -Wl,-Map=flashled2.map,--cref
-Wl,-Tdata=0x800100,--defsym=__heap_end=0x8010FF -L../../cmc216L04 -lcmc216L04
-Wl,-u,vfprintf -lprintf_flt -lm
Reading specs from /opt/cdk4avr/lib/gcc-lib/avr/3.3.2/specs
Configured with: ../configure --target=avr --prefix=/opt/cdk4avr
--mandir=/opt/cdk4avr/man --infodir=/opt/cdk4avr/info
--enable-languages=c,c++,ada --with-included-gettext --disable-nls
Thread model: single
gcc version 3.3.2
 /opt/cdk4avr/lib/gcc-lib/avr/3.3.2/../../../../avr/bin/ld -m avr5 -Tdata
0x800100 -o flashled2.elf
-L../../cmc216L04 -L/opt/cdk4avr/lib/gcc-lib/avr/3.3.2/avr5
-L/opt/cdk4avr/lib/gcc-lib/avr/3.3.2/../../../../avr/lib flashled2.o
-Map=flashled2.map --cref -Tdata=0x800100 --defsym=__heap_end=0x8010FF
-lcmc216L04 -u vfprintf -lprintf_flt -lgcc -lm -lgcc -lc -lgcc
In function `modf':
../../../../libm/fplib/modf.S:80: relocation truncated to fit: R_AVR_13_PCREL
make: *** [flashled2.elf] Error 1

I the lgcc library linked many times

Jose Segura.


reply via email to

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