Kaan Aks,it wrote:
> Dear all,
>
> I have successfully installed avr-binutils, avr-gcc by compiling from the
> source. Now it is time for me to compile avr-libc so that I can use the
> complete AVR toolchain. But I have encountered an error during
> configuration phase of avr-libc. Here is the config.log of the avr-libc. I
> couldn't understand where the problem is, I kindly ask for your
> suggestions/directions/comments/advices?
>
> Best regards,
> Kaan
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by avr-libc configure 1.8.0, which was
> generated by GNU Autoconf 2.68. Invocation command line was
>
> $ ./configure --build=x86_64-pc-linux-gnu --prefix=/usr/share/avr
> --host=avr
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = SAHILEVLERI
> uname -m = x86_64
> uname -r = 3.2.5
> uname -s = Linux
> uname -v = #1 SMP Fri Feb 10 13:22:45 EET 2012
>
> [...]
>
> /tmp/ccbUBR6G.s:19: Error: no such instruction: `ldi r24,0'
> /tmp/ccbUBR6G.s:20: Error: no such instruction: `ldi r25,0'
Appears you misconfigured GCC and/or binutils.
Can you compile a sample program with that avr-gcc?
Please read the configure documentation again.
In particular, don't configure GCC in a subdirectory of
its source three which is not supported.
Johann