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

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

[avr-gcc-list] Last snapshoot of avr-gcc and cygwin


From: frantz
Subject: [avr-gcc-list] Last snapshoot of avr-gcc and cygwin
Date: Fri, 23 Aug 2002 20:32:29 +0200

Hi,
 
I'am trying to compile the very last snapshot of avr-gcc compiler because I 'd like use the last option (ssa optimization, colored registers,...). I've downloaded the last binutils 1.3 sources), the last gcc and compile binutils with this command line (environment used is cygwin (the last version))
 
binutils
 
./configure --prefix=/usr/local/atmel --target=avr  
make
make install
 
all is ok !
 
I wrote:
 
PATH=/usr/local/atmel/bin:$PATH
 
( in gcc directory)
 
./configure --prefix=/usr/local/atmel --target=avr  --enable-language=c --disable-nls
 
ok configure done:
 
But with "make" command :
I've got this piece of message after many compilation modules:
 
 

  CONFIG_H="config.h auto-host.h ./../include/ansidecl.h ./config/i386/xm-cygwin.h ./config/avr/avr.h ./defaults.h ./defaults.h insn-constants.h insn-flags.h" MACHMODE_H="machmode.h machmode.def " \
  LIB1ASMSRC='avr/libgcc.S' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/home/gcc/gcc'
for d in libgcc avr3 libgcc/avr3 avr4 libgcc/avr4 avr5 libgcc/avr5; do \
  if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/gcc/gcc/xgcc -B/home/gcc/gcc/ -B/usr/local/atmel/avr/bin/ -B/usr/local/atmel/avr/lib/ -isystem /usr/local/atmel/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_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include  -DL_ffsdi2 -c ./libgcc2.c -o libgcc/./_ffsdi2.o
make[2]: Leaving directory `/home/gcc/gcc'
make[1]: Leaving directory `/home/gcc/gcc'
zhQJ.s:177: Error: garbage at end of line
make[2]: *** [libgcc/./_ffsdi2.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
 

 
I have try many possibilities (options) but without any results. If somebody has recently compiled the gcc source for the avr target, I'am very interested to understand where is my mistake. thank you in advance
 
 
Frantz

reply via email to

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