[Top][All Lists]

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

[avr-gcc-list] Compiling problem

From: John Tucker
Subject: [avr-gcc-list] Compiling problem
Date: Sat, 18 Jun 2011 08:27:21 -0400
User-agent: KMail/1.4.3


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 
--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-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
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-4)


I used the above compiler to compile avr-gcc from 
It compiled without error. Using -v option results in:


Using built-in specs.
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

reply via email to

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