[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Error in user manual?
From: |
Otto Tronarp |
Subject: |
Re: [avr-libc-dev] Error in user manual? |
Date: |
21 Oct 2002 22:42:28 +0200 |
On Mon, 2002-10-21 at 17:50, Theodore A. Roth wrote:
> I assume you are refering to this:
>
[snip]
> latest cvs versions).
>
> Hope that helps.
>
> Ted Roth
Yes it does, thank you. However I have problems compiling gcc HEAD (I
know it's probably more appropriate for avr-gcc list but my messages
never make it to that list. I have tried to sort it out (the mail
problem) for over 2 months now with no luck, so I'll post it here, hope
you don't mind)
compilation ends with
mkdir libgcc
mkdir avr3
mkdir libgcc/avr3
mkdir avr4
mkdir libgcc/avr4
mkdir avr5
mkdir libgcc/avr5
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/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'
make[2]: *** [libgcc/./_mulqi3.o] Error 1
make[2]: Leaving directory `/home/zzap/projects/avr_tools/gcc/build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/zzap/projects/avr_tools/gcc/build/gcc'
make: *** [all-gcc] Error 2
And I have
address@hidden build]$ avr-as --version
GNU assembler 2.13.90 20021021
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License. This program has absolutely no
warranty.
This assembler was configured for a target of `avr'.
Any idea on whats wrong? I configured with
../configure --target=avr --enable-languages=c --disable-nls
and I do have buildir != srcdir.
TIA
Otto Tronarp