avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #32086] libm library not linked


From: Christian Mikula
Subject: [avr-libc-dev] [bug #32086] libm library not linked
Date: Mon, 10 Jan 2011 13:54:27 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

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/




reply via email to

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