|
From: | Wouter van Gulik |
Subject: | Re: [avr-gcc-list] [AVR gcc link error] relocation truncated to fit: R_AVR_13_PCREL ... |
Date: | Wed, 16 Apr 2008 12:10:36 +0200 |
User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
Emmanuel Bourien schreef:
Hello, I get and install the last version of WinAVR (April 08 -GCC 4.3.0).I get this "relocation truncated to fit: R_AVR_13_PCREL" error during the link operation.I'm working with AVR Studio 4.12I've read i should add -lm to the linker command to avoid this...but no success :(So i need your help to avoid this problem! Excuse my english ;) thanks for your help. Best regards emmanuel
Your are almost there....You need to add -lm at the end of the linker step. See http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_libm
HTH, Wouter
[Prev in Thread] | Current Thread | [Next in Thread] |