Build from latest snapshot - it worked for me. And was quicker (no patches to mess with)



Weddington, Eric wrote:
-----Original Message-----
From: FRANCISCO ESPINOLA [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 10:10 AM
To: Weddington, Eric; avr-gcc-list@nongnu.org
Subject: RE: [avr-gcc-list] Error: illegal opcode movw for mcu avr3

Yes you right.

But I do not have the patches for 2.18
where I can find?

this page only have patches for binutils 2.16

http://ftp.gnu.org/gnu/binutils/


I am still getting error but I believe is because the
patches

../../../../libgcc/../gcc/config/avr/libgcc.S:
Assembler messages:
../../../../libgcc/../gcc/config/avr/libgcc.S:281:
Error: illegal opcode movw for mcu avr3
../../../../libgcc/../gcc/config/avr/libgcc.S:283:
Error: illegal opcode movw for mcu avr3
make[4]: *** [_mulsi3.o] Error 1

Thank you in advance

There are 2 choices: build binutils from the latest snapshot, or use the
attached patch. This patch has already been committed to binutils:

2008-01-16  Eric B. Weddington  <[EMAIL PROTECTED]>

    * config/tc-avr.c (mcu_types): Change opcode set for avr3,
    at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82, at90usb162.
    These changes support the new avr35 architecture group in gcc.
------------------------------------------------------------------------

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to