Follow-up Comment #2, bug #29458 (project avr-libc):

Hello Joerg,

It seems a link error. The attached Studio4 screendump show the folowing
message:

  rm -rf FloatTest.o  FloatTest.elf dep/* FloatTest.hex
      FloatTest.eep FloatTest.lss FloatTest.map
  Build succeeded with 0 Warnings...
  avr-gcc  -mmcu=atxmega128a1 -Wall -gdwarf-2 -Os -std=gnu99
      -funsigned-char -funsigned-bitfields -fpack-struct
      -fshort-enums -MD -MP -MT FloatTest.o -MF
      dep/FloatTest.o.d  -c  ../FloatTest.c
  avr-gcc -mmcu=atxmega128a1 -Wl,-Map=FloatTest.map
      FloatTest.o     -o FloatTest.elf
  c:/program files/winavr-
       20100110/bin/../lib/gcc/avr/4.3.3/../../../../
       avr/lib/avrxmega7libc.a(floatsisf.o): In function
       `__floatunsisf':
  (.text.avr-libc.fplib+0x0): multiple definition of
       `__floatunsisf'
  c:/program files/winavr-
       20100110/bin/../lib/gcc/avr/4.3.3/avrxmega7libgcc.a
       (_usi_to_sf.o):c:avrdevgccbuild-avravravrxmega7
       libgcc/../../.././gcc/fp-bit.c:1391: first defined
       here
  make: *** [FloatTest.elf] Error 1
  Build failed with 1 errors and 0 warnings...

I compile with Studio4, I do not know how to add the -ml option.

Regards,
Robert.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29458>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to