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

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

Re: [avr-libc-dev] avr-libc installation error


From: Aurélien Francillon
Subject: Re: [avr-libc-dev] avr-libc installation error
Date: Mon, 7 Apr 2008 18:41:05 +0200
User-agent: KMail/1.9.7

Le Monday 07 April 2008 15:08:48 Blake Leverett, vous avez écrit :
> On Thursday 03 April 2008, ericwade wrote:
> > Hello all;
> >
> > I have already successfully installed the AVR toolchain on one desktop. I
> > was installing in Gentoo on second desktop, following the steps posted
> > at; http://www.nongnu.org/avr-libc/user-man ... tools.html
...
> > suffix of object files: cannot compile
> > See `config.log' for more details.
> >
> > After looking at config.log, it seems the error occurs at;
> > /tmp/cccovPsE.s: Assembler messages:
> > /tmp/cccovPsE.s:14: Error: no such instruction: `ldi r28,lo8(__stack -
> > 0)' /tmp/cccovPsE.s:15: Error: no such instruction: `ldi r29,hi8(__stack
> > - 0)' /tmp/cccovPsE.s:16: Error: too many memory references for `out'
> > /tmp/cccovPsE.s:17: Error: too many memory references for `out'
> > /tmp/cccovPsE.s:19: Error: no such instruction: `ldi r24,lo8(0)'
> > /tmp/cccovPsE.s:20: Error: no such instruction: `ldi r25,hi8(0)'
> > /tmp/cccovPsE.s:22: Error: no such instruction: `rjmp exit'

looks like your gcc isn't using the right binutils ...

> I use gentoo, and here are my personal instructions for building the AVR
> toolchain:

on gentoo you can also use crossdev which builds the cross toolchain 
automatically:
emerge crossdev 
then :
crossdev -t avr 

this /should/ install a proper toolchain with gcc binutils and avr-libc using 
ebuilds ... if you have a problem with crossdev you can search 
bugs.gentoo.org or post a new bug if you don't find your problem ...

Cheers
Aurélien




reply via email to

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