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

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

RE: [avr-gcc-list] problems for bulding gcc-3.2


From: Tehn Yit Chin
Subject: RE: [avr-gcc-list] problems for bulding gcc-3.2
Date: Wed, 18 Dec 2002 12:29:36 +1100

Nope, that was not it.

I unset CC, configured it with --target=avr --enable-languages="c" and the
same errors occured when I build it.

Reading the docs, it says that --with-headers options needs to be specified
during configuration. Anybody know which headers it should be configured to?

Is there any other options I should configure?

thanks,
Tehn Yit



-----Original Message-----
From: Marc Wetzel [mailto:address@hidden
Sent: Tuesday, December 17, 2002 6:57 PM
To: address@hidden; address@hidden
Subject: RE: [avr-gcc-list] problems for bulding gcc-3.2


Your environment is probably pointing to a cross-compiler (CC=AVR?)
Unset CC and configure again.

HTH

Marc Wetzel


> -----Original Message-----
> From: address@hidden [mailto:address@hidden
On
> Behalf Of Tehn Yit Chin
> Sent: Dienstag, 17. Dezember 2002 04:13
> To: address@hidden
> Subject: [avr-gcc-list] problems for bulding gcc-3.2
>
> Hi all,
>
> I am trying to build gcc-3.2, targetted at the avr, and I got the
> following
> errors.
>
>
/home/e-smith/files/users/tchin/home/temp_storage/avr/gcc/gcc-3.2/gcc/xg
cc
> -
>
B/home/e-smith/files/users/tchin/home/temp_storage/avr/gcc/gcc-3.2/gcc/
-
> B/u
> sr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem
> usr/local/avr/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-
> strin
> gs -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/cczJi1Au.s: Assembler messages:
> /tmp/cczJi1Au.s:27: Error: suffix or operands invalid for `clr'
> /tmp/cczJi1Au.s:27: Error: no such instruction: `clear result'
> /tmp/cczJi1Au.s:29: Error: no such instruction: `sbrc r24,0'
> /tmp/cczJi1Au.s:30: Error: too many memory references for `add'
> /tmp/cczJi1Au.s:31: Error: too many memory references for `add'
> /tmp/cczJi1Au.s:31: Error: no such instruction: `shift multiplicand'
> /tmp/cczJi1Au.s:32: Error: no such instruction: `breq __mulqi3_exit'
> /tmp/cczJi1Au.s:32: Error: no such instruction: `while
multiplicand!=0'
> /tmp/cczJi1Au.s:33: Error: no such instruction: `lsr r24'
> /tmp/cczJi1Au.s:34: Error: no such instruction: `brne __mulqi3_loop'
> /tmp/cczJi1Au.s:34: Error: no such instruction: `exit if multiplier=0'
> /tmp/cczJi1Au.s:36: Error: too many memory references for `mov'
> /tmp/cczJi1Au.s:36: Error: no such instruction: `result to return
> register'
> make[2]: *** [libgcc/./_mulqi3.o] Error 1
>
>
> Has anyone come across the same problem?
>
> I downloaded the source from www.gnu.org.
>
> I am building it using gcc 2.96.
>
> thanks,
> Tehn Yit Chin
>
> 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]