avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] Toolchain woes


From: Robert von Knobloch
Subject: Re: [avr-chat] Toolchain woes
Date: Wed, 29 Sep 2010 11:13:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

On 29/09/10 06:39, address@hidden wrote:
> Robert von Knobloch <address@hidden> wrote:
> 
>> I am upgrading my toolchain for avr and wanted to get the latest tools.
> 
> For Linux?

What else is there ;-)     (that works, that is).
OpenSUSE 11.0 && Slackware 13
> 
> Go to avrfreaks.net, and get Bingo600's "Linux buildscript" (it's a
> "sticky" posting displayed on top of the AVR-GCC forum).  You have to
> login in order to see the attachments, but nobody will ask you to
> actually *post* there even if you log in. ;-)
Thanks, Jörg. I did, eventually, I am not so keen on avrfreaks but well OK.

The script ran without producing an error message but, on compiling an
existing project (Tiny13 that works fine with gcc4.3.3, binutils 2.19,
avr-libc 1.4.6), I get:

/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: avr:25 architecture
of input file
`/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/lib/avr25/crttn13.o' is
incompatible with avr:3 output
/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: avr:25 architecture
of input file `Prog5.o' is incompatible with avr:3 output
/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: avr:25 architecture
of input file
`/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/lib/avr25/libc.a(eerd_byte_attiny13.o)'
is incompatible with avr:3 output
/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: avr:25 architecture
of input file
`/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/lib/avr25/libc.a(eerd_word_attiny13.o)'
is incompatible with avr:3 output
/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/bin/ld: avr:25 architecture
of input file
`/opt/cross/lib/gcc/avr/4.3.4/../../../../avr/lib/avr25/libc.a(eerd_block_attiny13.o)'
is incompatible with avr:3 output

Seems that the linker is unhappy with new eeprom functions (and my
Prog5.o) but I don't know where it gets the idea that it should create
avr3 output from an avr25 project.

I'm still wondering why the FreeBSD patches seem to be inconsistent with
the gcc & binutils sources - I assume the author 'Joerg' is you?
Can it be a version mismatch?
Anyway, thanks as always,
Robert




reply via email to

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