avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] problem building gcc 4.3.2


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] problem building gcc 4.3.2
Date: Tue, 29 Sep 2009 21:56:25 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Galen Seitz schrieb:
Hi,

I'm trying to build RHEL/CentOS packages that match the latest winavr release. I've downloaded Eric's patches and incorporated them into the build process. The build dies during libgcc with this error:

Configuring in avr/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... avr-unknown-none
checking for avr-ar... /usr/avr/bin/ar
checking for avr-lipo... avr-lipo
checking for avr-nm... /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/nm
checking for avr-ranlib... /usr/avr/bin/ranlib
checking for avr-strip... /usr/avr/bin/strip
checking whether ln -s works... yes
checking for avr-gcc... /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/xgcc -B /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib
/ -isystem /usr/avr/include -isystem /usr/avr/sys-include
checking for suffix of object files... configure: error: cannot compute suffix o
f object files: cannot compile
See `config.log' for more details.


When I look at avr/libgcc/config.log, I see that xgcc is being passed i386 options, which can't be correct:

What says "echo $CC"? Setting CC so some value can lead to errors AFAIR. Maybe same happens for CFLAGS, or you did not configure gcc correctly (like obj-path as subdir of source-path).

Georg-Johann







reply via email to

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