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

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

[avr-gcc-list] Building gcc-3.3 for avr


From: Erik Christiansen
Subject: [avr-gcc-list] Building gcc-3.3 for avr
Date: Fri, 1 Aug 2003 18:57:53 +1000
User-agent: Mutt/1.3.28i

   Anyone know if gcc-3.3 builds for avr?

   My attempt has /usr/local/src/gcc-3.3/obj-avr/gcc/xgcc failing to
   understand the avr libgcc source code. Trying to figure what I might
   have (not) done to cause this is a bit of a puzzle, since it looks
   rather like xgcc is not parsing correctly. (e.g. fails to detect
   comment delimiter, then tries to assemble the comment.) The make dies
   as follows:

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
/usr/local/src/gcc-3.3/obj-avr/gcc/xgcc -B/usr/local/src/gcc-3.3/obj-avr/gcc/ 
-B            
/avr/bin/ -B/avr/lib/ -isystem /avr/include -O2  -DIN_GCC -DCROSS_COMPILE   -W 
-            
Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
./include            
  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEE            
DED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config 
-I../../            
gcc/../include -DL_mulqi3 -xassembler-with-cpp -c ../../gcc/config/avr/libgcc.S 
            
-o libgcc/./_mulqi3.o
/tmp/ccIJlyxw.s: Assembler messages:
/tmp/ccIJlyxw.s:27: Error: suffix or operands invalid for `clr'
/tmp/ccIJlyxw.s:27: Error: no such instruction: `clear result'
/tmp/ccIJlyxw.s:29: Error: no such instruction: `sbrc r24,0'
/tmp/ccIJlyxw.s:30: Error: too many memory references for `add'
/tmp/ccIJlyxw.s:31: Error: too many memory references for `add'
/tmp/ccIJlyxw.s:31: Error: no such instruction: `shift multiplicand'
/tmp/ccIJlyxw.s:32: Error: no such instruction: `breq __mulqi3_exit'
/tmp/ccIJlyxw.s:32: Error: no such instruction: `while multiplicand!=0'
/tmp/ccIJlyxw.s:33: Error: no such instruction: `lsr r24'
/tmp/ccIJlyxw.s:34: Error: no such instruction: `brne __mulqi3_loop'
/tmp/ccIJlyxw.s:34: Error: no such instruction: `exit if multiplier=0'
/tmp/ccIJlyxw.s:36: Error: too many memory references for `mov'
/tmp/ccIJlyxw.s:36: Error: no such instruction: `result to return register'
make[2]: *** [libgcc/./_mulqi3.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-3.3/obj-avr/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.3/obj-avr/gcc'
make: *** [all-gcc] Error 2

   My config.status shows:

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../configure --with-gcc-version-trigger=/usr/local/src/gcc-3.3/gcc/version.c 
--host=i686-pc-linux-gnu --prefix= --target=avr --enable-languages=c,c++ 
--disable-nls --norecursion
#

   Any hint gratefully accepted.

   In the interim, I'll try a snapshot out of cvs.

Regards,
Erik




reply via email to

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