[Top][All Lists]

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

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

From: Dean Ferreyra
Subject: RE: [avr-gcc-list] Last snapshoot of avr-gcc and cygwin
Date: Fri, 23 Aug 2002 13:08:00 -0700

Another thing I do is run gcc_update to touch appropriate files, and also
(of course) make:

$ cvs -z 9 -d :pserver:address@hidden:/cvs/gcc co gcc
$ cd gcc
$ contrib/gcc_update --touch
$ cd ..
$ mkdir build
$ cd build
$ ../gcc/configure --target=avr --disable-nls --enable-languages=c
$ make
$ make install


-----Original Message-----
From: Dean Ferreyra [mailto:address@hidden
Sent: Friday, August 23, 2002 1:02 PM
To: frantz; Avr-Gcc-List
Subject: RE: [avr-gcc-list] Last snapshoot of avr-gcc and cygwin

Hi Frantz,

Just two days ago I did CVS pulls of the latest binutils, gcc, and avr-libc.
Everything built properly, installed and has been working well for me, all
under Cygwin/Windows 2000.

Probably not your problem, but I believe that "--enable-language=c" should
read "--enable-languages=c".

Also, you might want to try building in a directory _other_ than the source
directory, e.g.:

cvs -z 9 -d :pserver:address@hidden:/cvs/gcc co gcc
mkdir build
cd build
../gcc/configure --target=avr --disable-nls --enable-languages=c

Good luck!


-----Original Message-----
From: address@hidden [mailto:address@hidden
Behalf Of frantz
Sent: Friday, August 23, 2002 11:32 AM
To: Avr-Gcc-List
Subject: [avr-gcc-list] Last snapshoot of avr-gcc and cygwin


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))


./configure --prefix=/usr/local/atmel --target=avr
make install

all is ok !

I wrote:


( in gcc directory)

./configure --prefix=/usr/local/atmel --target=avr  --enable-language=c --di

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' \
  -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; \
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 -Wwrit
e-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
/include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_F
LOAT_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


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

reply via email to

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