[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] problem building gcc 4.3.2
From: |
Galen Seitz |
Subject: |
[avr-gcc-list] problem building gcc 4.3.2 |
Date: |
Tue, 29 Sep 2009 08:49:07 -0700 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090625) |
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:
configure:2588: /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/xgcc
-B/home/ga
lens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/ -B/usr/avr/bin/
-B/usr/avr/lib/ -isyst
em /usr/avr/include -isystem /usr/avr/sys-include -c -O2 -g -O2 -g
-m32 -march=i
386 -mtune=generic -fasynchronous-unwind-tables conftest.c >&5
cc1: error: unrecognized command line option "-m32"
cc1: error: unrecognized command line option "-march=i386"
cc1: error: unrecognized command line option "-mtune=generic"
conftest.c:1: warning: unwind tables currently require a frame pointer
for corre
ctness
I haven't been able to figure out what I've done wrong. Do Eric's gcc
patches require a bootstrap? If so, what is the recommend way of
doing this?
thanks,
galen
--
Galen Seitz
address@hidden
- [avr-gcc-list] problem building gcc 4.3.2,
Galen Seitz <=