avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] dtostrf and the dreaded "relocation truncated to fit:


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] dtostrf and the dreaded "relocation truncated to fit: R_AVR_13_PCREL" error
Date: Fri, 6 Apr 2007 08:56:12 +0200 (MET DST)

rtwas <address@hidden> wrote:

> /usr/local/atmel/bin/avr-gcc -g -Os -Wall -mcall-prologues 
> -mmcu=atmega128 -save-temps   main.o spim.o spim_tmr0.o diag.o uart.o 
> cmd.o cmd_spi.o -o avr_sdiag0.obj

Add -lm to this.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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