> -----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 Georg-Johann Lay
> Sent: Wednesday, June 08, 2011 1:18 PM
> To: Boyapati, Anitha
> Cc: avr-gcc-list@nongnu.org
> Subject: Re: [avr-gcc-list] Trunk broken for AVR Target?
> 
> Boyapati, Anitha schrieb:
> >
> > Hi,
> >
> > I am trying to build recent snapshot gcc-4.7-20110604 without any
> > patches. Build fails for libgcc2.c. Unless I am doing something
> > wrong, I think the trunk is broken. Can someone confirm this?
> >
> > --------------------------------------------------------------
> > checking for suffix of object files... configure: error: in
> > `/home/anitha/gcc-4.7-20110604/objdir/avr/libgcc': configure:
> > error: cannot compute suffix of object files: cannot compile See
> > `config.log' for more details. make[1]: ***
> > [configure-target-libgcc] Error 1
> >
> > --------------------------------------------------------------
> 
> Look at beginning of configure output and ensure that the desired
> binutils are used. The easiest way to ensure that is
> building/installing them with the same prefix as for gcc.
> Make sure that you don't have CC environment variable set.

Ah, yes! Thanks for jogging my memory on that, Johann. Also, if my PATH is not 
set correctly when building GCC, so that it is not correctly finding the AVR 
Binutils will also trigger this. I've gotten bitten by this before.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to