On Dec 13, 2007, at 11:49 PM, Anmol Kumar wrote:
Hello,While installing avr-libc-1.4.7 I am getting this error again and again (as I tried a lot). Some of the last lines while installing are given below[EMAIL PROTECTED] avr-libc]# ../avr-libc-1.4.7/configure --build=`./config.guess` --host=avr bash: ./config.guess: No such file or directory
This line is your problem. whatever directory you are in does not contain config.guess. Since config.guess is normally right next to configure, you probably need to specify ../avr-libc-1.4.7/ config.guess. That way, configure knows you are trying to build using a cross compiler. Right now, it is trying to guess based on the compiler it happens to find. It finds the i686 compiler, realizes it isn't generating AVR and quits.
\configure: WARNING: If you wanted to set the --build type, don't use --host.If a cross compiler is detected then cross compile mode will be used.checking build system type... i686-pc-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... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for avr-as... avr-as checking for avr-ranlib... avr-ranlib checking for avr-ar... avr-ar configure: error: Wrong C compiler found; check the PATH!I am using gcc-4.2.2. Config.log has also been attache Please find the fileand waiting for a favourable reply of yours. Thanks, Anmol Kumar <config.log>_______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
-- Rick Altherr [EMAIL PROTECTED]"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Slashdot signature
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
