avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Error in user manual?


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Error in user manual?
Date: Tue, 22 Oct 2002 10:42:39 +0200
User-agent: Mutt/1.2.5i

As Otto Tronarp wrote:

> /home/zzap/projects/avr_tools/gcc/build/gcc/xgcc
> -B/home/zzap/projects/avr_tools/gcc/build/gcc/ -B/avr/bin/ -B/avr/lib/
>  -isystem /avr/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype
> s -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g 
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc 
> -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
> -I../../gcc/../include -DL_mulqi3 -xassembler-with-cpp -c ../../gc
> c/config/avr/libgcc.S -o libgcc/./_mulqi3.o
> /tmp/ccFgEFFn.s: Assembler messages:
> /tmp/ccFgEFFn.s:27: Error: suffix or operands invalid for `clr'
> /tmp/ccFgEFFn.s:27: Error: no such instruction: `clear result'
> /tmp/ccFgEFFn.s:29: Error: no such instruction: `sbrc r24,0'
> /tmp/ccFgEFFn.s:30: Error: too many memory references for `add'
> /tmp/ccFgEFFn.s:31: Error: too many memory references for `add'
> /tmp/ccFgEFFn.s:31: Error: no such instruction: `shift multiplicand'
> /tmp/ccFgEFFn.s:32: Error: no such instruction: `breq __mulqi3_exit'
> /tmp/ccFgEFFn.s:32: Error: no such instruction: `while multiplicand!=0'
> /tmp/ccFgEFFn.s:33: Error: no such instruction: `lsr r24'
> /tmp/ccFgEFFn.s:34: Error: no such instruction: `brne __mulqi3_loop'
> /tmp/ccFgEFFn.s:34: Error: no such instruction: `exit if multiplier=0'
> /tmp/ccFgEFFn.s:36: Error: too many memory references for `mov'
> /tmp/ccFgEFFn.s:36: Error: no such instruction: `result to return
> register'

My guess is it's picking up the wrong assembler.

Try entering the above command line (from the appropriate directory)
with -v added, and see which tools it's calling.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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