> -----Original Message----- > From: > avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu. > org] On Behalf Of Galen Seitz > Sent: Tuesday, September 29, 2009 9:19 PM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] problem building gcc 4.3.2 > > 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:
It sounds like avr-binutils is not in the PATH. > 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? > Please note that this is what I do in my scripts to build binutils: make maybe-configure-bfd 2>&1 | tee $project-make-configure-bfd.log make -C bfd headers 2>&1 | tee $project-make-headers.log make all html install install-html 2>&1 | tee $project-make.log HTH, Eric _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list