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:2266: checking build system type configure:2280: result: x86_64-pc-linux-gnu configure:2300: checking host system type
configure:2313: result: avr-unknown-none configure:2337: checking if configuring for cross compile configure:2357: result: yes configure:2361: checking if target host is avr configure:2365: result: yes configure:2405: checking for a BSD-compatible install
configure:2473: result: /usr/bin/install -c configure:2484: checking whether build environment is sane configure:2534: result: yes configure:2583: checking for avr-strip configure:2599: found /usr/bin/avr-strip
configure:2610: result: avr-strip configure:2675: checking for a thread-safe mkdir -p configure:2714: result: /bin/mkdir -p configure:2727: checking for gawk configure:2743: found /bin/gawk configure:2754: result: gawk
configure:2765: checking whether make sets $(MAKE) configure:2787: result: yes configure:2886: checking for avr-gcc configure:2913: result: avr-gcc configure:3182: checking for C compiler version configure:3191: avr-gcc --version >&5
avr-gcc (Pardus Linux) 4.7.1 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3202: $? = 0 configure:3191: avr-gcc -v >&5 Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/share/avr/libexec/gcc/avr/4.7.1/lto-wrapper Target: avr Configured with: ../configure --target=avr --mandir=/usr/share/man --datadir=/usr/share --prefix=/usr/share/avr --enable-languages=c,c++ --disable-nls --disable-libssp --with-dwarf2 --with-system-zlib --program-prefix=avr- --enable-version-specific-runtime-libs --with-pkgversion='Pardus Linux' --with-bugurl=http://bugs.pardus.org.tr
Thread model: single gcc version 4.7.1 (Pardus Linux) configure:3202: $? = 0 configure:3191: avr-gcc -V >&5 avr-gcc: error: unrecognized command line option '-V' avr-gcc: fatal error: no input files
compilation terminated. configure:3202: $? = 1 configure:3191: avr-gcc -qversion >&5 avr-gcc: error: unrecognized command line option '-qversion' avr-gcc: fatal error: no input files compilation terminated.
configure:3202: $? = 1 configure:3222: avr-gcc -o conftest -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common conftest.c >&5 /tmp/ccbUBR6G.s: Assembler messages: /tmp/ccbUBR6G.s:13: Error: too many memory references for `in'
/tmp/ccbUBR6G.s:14: Error: too many memory references for `in' /tmp/ccbUBR6G.s:19: Error: no such instruction: `ldi r24,0' /tmp/ccbUBR6G.s:20: Error: no such instruction: `ldi r25,0' configure:3226: $? = 1
configure:3439: checking whether we are cross compiling configure:3477: result: yes configure:3481: checking for suffix of object files configure:3503: avr-gcc -c conftest.c >&5 /tmp/ccsHKfHe.s: Assembler messages:
/tmp/ccsHKfHe.s:13: Error: too many memory references for `in' /tmp/ccsHKfHe.s:14: Error: too many memory references for `in' /tmp/ccsHKfHe.s:19: Error: no such instruction: `ldi r24,0' /tmp/ccsHKfHe.s:20: Error: no such instruction: `ldi r25,0'
configure:3507: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "avr-libc" | #define PACKAGE_TARNAME "avr-libc" | #define PACKAGE_VERSION "1.8.0"
| #define PACKAGE_STRING "avr-libc 1.8.0" | #define PACKAGE_BUGREPORT "address@hidden" | #define PACKAGE_URL "" | #define PACKAGE "avr-libc"
| #define VERSION "1.8.0" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3521: error: in `/var/pisi/avr-libc-1.8.0-5/work/avr-libc-1.8.0':
configure:3523: error: cannot compute suffix of object files: cannot compile See `config.log' for more details