Follow-up Comment #2, bug #32086 (project avr-libc): I attached a demo project with makefile to test it for you!
This project is only to demonstrate the bug. I get the error in really cpp project and in this place (as you described)the g++ is used. 1. Use "make all" to build the project. Program: 3090 bytes (37.7% Full) 2. Edit makefile in line 57 from "LIBs = -lm" to "LIBs = -lm -lm" 3. Store and use "make all" to build the project. Program: 1344 bytes (16.4% Full) Now you can see, that the linker does not work korrectly. If avr-gcc is used the linker works fine. (file #22384) _______________________________________________________ Additional Item Attachment: File name: gpp-test.tar.gz Size:1 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?32086> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev