On 29/09/10 06:39, [email protected] wrote:
> Robert von Knobloch <[email protected]> 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


_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to