List: I'm only a moderately capable C programmer (mostly in the '80s) and I'm trying to compile the AVR Toolchain. I want to play around with an Atmega-328p. I intend to do the programming using Knoppix 6.4.
I've managed to get the binutils to compile successfully as well as avr-gcc (including libgmp, libmpfr & libmpc) but I'm stuck compiling avr-libc-1.7.1. I'm not even sure as to whether it's my compilation of avr-gcc that's causing the error or if it's something in the library. The error message I get while trying to compile avr-libc-1.7.1 is: ----------------------------------------------- ./../../libc/stdlib/dtostre.c: In function 'dtostre': ../../../libc/stdlib/dtostre.c:63:2: internal compiler error: in build_unary_op, at c-typeck.c:3786 Please submit a full bug report, ----------------------------------------------- I know someone will need to have a lot more info to help me resolve the problem and I think I have collected most of it, just don't want to dump a lot of data at the wrong place. For starters the Knoppix gcc version is: ----------------------------------------------- Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-4' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-4) ----------------------------------------------- I used the above compiler to compile avr-gcc from gcc-core-4.3.2.tar.bz2. It compiled without error. Using -v option results in: ----------------------------------------------- Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/UNIONFS/usr/local/AVR/bin/../libexec/gcc/avr/4.6.0/lto-wrapper Target: avr Configured with: ../configure --target=avr --prefix=/usr/local/AVR --disable-nls --enable-languages=c --disable-libssp Thread model: single ----------------------------------------------- Thanks for any help. Jack Tucker ja...@verizon.net _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list