Hello all; I have already successfully installed the AVR toolchain on one desktop. I was installing in Gentoo on second desktop, following the steps posted at; http://www.nongnu.org/avr-libc/user-man ... tools.html
I successfully installed Binutils-2.18 and gcc-4.2.1, but upon trying to configure AVR-libc, I get; checking build system type... x86_64-unknown-linux-gnu checking host system type... avr-unknown-none checking if configuring for cross compile... yes checking if target host is avr... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for avr-strip... avr-strip checking for avr-gcc... avr-gcc checking whether we are cross compiling... yes checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. After looking at config.log, it seems the error occurs at; /tmp/cccovPsE.s: Assembler messages: /tmp/cccovPsE.s:14: Error: no such instruction: `ldi r28,lo8(__stack - 0)' /tmp/cccovPsE.s:15: Error: no such instruction: `ldi r29,hi8(__stack - 0)' /tmp/cccovPsE.s:16: Error: too many memory references for `out' /tmp/cccovPsE.s:17: Error: too many memory references for `out' /tmp/cccovPsE.s:19: Error: no such instruction: `ldi r24,lo8(0)' /tmp/cccovPsE.s:20: Error: no such instruction: `ldi r25,hi8(0)' /tmp/cccovPsE.s:22: Error: no such instruction: `rjmp exit' configure:2221: $? = 1 configure:2385: checking whether we are cross compiling configure:2387: result: yes configure:2391: checking for suffix of object files configure:2412: avr-gcc -c conftest.c >&5 /tmp/cc4SxeFI.s: Assembler messages: /tmp/cc4SxeFI.s:14: Error: no such instruction: `ldi r28,lo8(__stack - 0)' /tmp/cc4SxeFI.s:15: Error: no such instruction: `ldi r29,hi8(__stack - 0)' /tmp/cc4SxeFI.s:16: Error: too many memory references for `out' /tmp/cc4SxeFI.s:17: Error: too many memory references for `out' /tmp/cc4SxeFI.s:19: Error: no such instruction: `ldi r24,lo8(0)' /tmp/cc4SxeFI.s:20: Error: no such instruction: `ldi r25,hi8(0)' /tmp/cc4SxeFI.s:22: Error: no such instruction: `rjmp exit' configure:2415: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "avr-libc" | #define PACKAGE_TARNAME "avr-libc" | #define PACKAGE_VERSION "1.6.2" | #define PACKAGE_STRING "avr-libc 1.6.2" | #define PACKAGE_BUGREPORT "avr-libc-dev@nongnu.org" | #define PACKAGE "avr-libc" | #define VERSION "1.6.2" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2429: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. I have searched the forums, but the suggested fixes I have found have not worked for me. Any advice? Thanks... -- View this message in context: http://www.nabble.com/avr-libc-installation-error-tp16469007p16469007.html Sent from the AVR - Libc - Dev mailing list archive at Nabble.com. _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev