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

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

Re: [avr-gcc-list] compiling avr-gcc from last snapshop with c,c++ fail


From: Tony M
Subject: Re: [avr-gcc-list] compiling avr-gcc from last snapshop with c,c++ fail
Date: Thu, 27 Jun 2002 08:50:14 -0400

Hey Klaus,

I came across that myself a little while ago though I forget the exact
circumstances... it seems to me the GCC build process is using the wrong
binutils (as in not one built for the avr).  Have you built a newer binutils
for the avr?

Tony


----- Original Message -----
From: "Klaus Rudolph" <address@hidden>
To: <address@hidden>
Sent: Thursday, June 27, 2002 4:17 AM
Subject: [avr-gcc-list] compiling avr-gcc from last snapshop with c,c++ fail


> Hi all,
>
> I tried to compile gcc-20020624
>
> ./configure --target=avr --disable-nls --enable-language=c
> make fails with:
> /home/rudolphk/avrdownload/gcc-20020624/gcc/xgcc
> -B/home/rudolphk/avrdownload/gcc-20020624/gcc/ -B/usr/local/avr/bin/ -B/us
r/local/avr/lib/ -isystem
>
/usr/local/avr/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-stri
ngs
> -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -DDF=SF
> -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include -DL_mulqi3
> -xassembler-with-cpp -c ./config/avr/libgcc.S -o libgcc/./_mulqi3.o
> /tmp/ccPdo93S.s: Assembler messages:
> /tmp/ccPdo93S.s:27: Error: suffix or operands invalid for `clr'
> /tmp/ccPdo93S.s:27: Error: no such instruction: `clear result'
> /tmp/ccPdo93S.s:29: Error: no such instruction: `sbrc r24,0'
> /tmp/ccPdo93S.s:30: Error: too many memory references for `add'
> /tmp/ccPdo93S.s:31: Error: too many memory references for `add'
> /tmp/ccPdo93S.s:31: Error: no such instruction: `shift multiplicand'
> /tmp/ccPdo93S.s:32: Error: no such instruction: `breq __mulqi3_exit'
> /tmp/ccPdo93S.s:32: Error: no such instruction: `while multiplicand!=0'
> /tmp/ccPdo93S.s:33: Error: no such instruction: `lsr r24'
> /tmp/ccPdo93S.s:34: Error: no such instruction: `brne __mulqi3_loop'
> /tmp/ccPdo93S.s:34: Error: no such instruction: `exit if multiplier=0'
> /tmp/ccPdo93S.s:36: Error: too many memory references for `mov'
> /tmp/ccPdo93S.s:36: Error: no such instruction: `result to return
register'
> make[2]: *** [libgcc/./_mulqi3.o] Error 1
>
> any ideas? Maybe wrong config options? After that i want to try also c++,
> but
> if no c compiles :-(
>
> Thanks
>     Klaus
>
>
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> avr-gcc-list at http://avr1.org
>

avr-gcc-list at http://avr1.org



reply via email to

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