problem with AVR cross compiler

Egbert Jan van den Bussche egbert@vandenbussche.nl
Thu Mar 6 21:52:00 GMT 2008


Hello,

I was building a cross-compiler (avr-gcc) from the 4.2.3 sources on my 
Mandriva 2008.0 system but an error occured. Dunno if this is the right 
place to drop this but I give it a try.
I will try previous versions 4.2.2 and 4.2.1 to see if this error goes away.

/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/./gcc/xgcc 
-B/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/./gcc/ -B/usr/local/avr/bin/ 
-B/usr/local/avr/lib/ -isystem /usr/local/avr/include -isystem 
/usr/local/avr/sys-include -O2  -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE   
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc 
-mcall-prologues -Os -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
-Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include 
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber 
-I../libdecnumber -mmcu=avr35 -DL_mulsi3 -xassembler-with-cpp -c 
../../gcc/config/avr/libgcc.S -o libgcc/avr35/_mulsi3.o
../../gcc/config/avr/libgcc.S: Assembler messages:
../../gcc/config/avr/libgcc.S:280: Error: illegal opcode movw for mcu avr3
../../gcc/config/avr/libgcc.S:282: Error: illegal opcode movw for mcu avr3
make[3]: *** [libgcc/avr35/_mulsi3.o] Error 1
make[3]: Leaving directory `/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/var/ftp/Linux/AVR-GCC/gcc-4.2.3/avr-gcc'
make: *** [all] Error 2

Best regards,
Egbert Jan van  den Bussche (NL)
egbert@vandenbussche.nl



More information about the Gcc-help mailing list