avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] avr-gcc


From: atmel
Subject: [avr-gcc-list] avr-gcc
Date: Sun, 14 Nov 2004 20:12:11 +0100
User-agent: KMail/1.5.1

Hi all!

I struggle to compile gcc 3.4.2 for avr processors, but it has failed to solve 
gcc/config/libgcc.S (of course written in avr assembler syntax)
After
./configure --exec-prefix=/usr/local/avr/ --target=avr --program-prefix==avr 
--with-cpu=avr --enable-languages=c
make

libgcc/./_mulqi3.o
/tmp/ccAvTqpZ.s: Assembler messages:
/tmp/ccAvTqpZ.s:28: Error: suffix or operands invalid for `clr'
/tmp/ccAvTqpZ.s:28: Error: no such instruction: `clear result'
/tmp/ccAvTqpZ.s:30: Error: no such instruction: `sbrc r24,0'
/tmp/ccAvTqpZ.s:31: Error: too many memory references for `add'
/tmp/ccAvTqpZ.s:32: Error: too many memory references for `add'
/tmp/ccAvTqpZ.s:32: Error: no such instruction: `shift multiplicand'
/tmp/ccAvTqpZ.s:33: Error: no such instruction: `breq __mulqi3_exit'
/tmp/ccAvTqpZ.s:33: Error: no such instruction: `while multiplicand!=0'
/tmp/ccAvTqpZ.s:34: Error: no such instruction: `lsr r24'
/tmp/ccAvTqpZ.s:35: Error: no such instruction: `brne __mulqi3_loop'
/tmp/ccAvTqpZ.s:35: Error: no such instruction: `exit if multiplier=0'
/tmp/ccAvTqpZ.s:37: Error: too many memory references for `mov'
/tmp/ccAvTqpZ.s:37: Error: no such instruction: `result to return register'
make[2]: *** [libgcc/./_mulqi3.o] Error 1
make[2]: Leaving directory `/usr/src/gcc-3.4.2/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/src/gcc-3.4.2/gcc'
make: *** [all-gcc] Error 2

What is the solution?

-tom
ps: sailing on the net I always found questions without any reasonable answer.


reply via email to

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