I am trying to compile avr-gcc-4.0 on WinXP.
I am using binutils-2.15 and gcc snapshop gcc-4.0-20041212.
Within gcc source directory, I have made a build directory and then
typed:
cd build
../configure --target=avr --disable-nls --enable-languages=c
make
In cygwin environement (gcc-3.3.3) and also in MS SFU (gcc-3.3 also)
I have :
/home/dev/gcc/gcc-4.0-20041212/build/gcc/xgcc
-B/home/dev/gcc/gcc-4.0-20041212/b
uild/gcc/ -B/usr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem
/usr/local/avr/in
clude -isystem /usr/local/avr/sys-include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wa
ll -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definiti
on -isystem ./include -DDF=SF -Dinhibit_libc -mcall-prologues -g
-DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc
-I../../gcc/. -I../
../gcc/../include -I../../gcc/../libcpp/include -DL_fixdfdi -c
../../gcc/libgcc
2.c -o libgcc/./_fixdfdi.o
../../gcc/libgcc2.c: In function '__fixdfdi':
../../gcc/libgcc2.c:1198: internal compiler error: in
find_valid_class, at reloa
d.c:712
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/./_fixdfdi.o] Error 1
make[2]: Leaving directory `/home/dev/gcc/gcc-4.0-20041212/build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/dev/gcc/gcc-4.0-20041212/build/gcc'
make: *** [all-gcc] Error 2
Am I doing something wrong ? Which version of gcc am I supposed to
use to compile avr-gcc ?
Does anyone succeed to compile that snapshot ?
Regards,
Frederik
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list