[Top][All Lists]

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

Re: [avr-gcc-list] Building latest gcc...

From: Blake Leverett
Subject: Re: [avr-gcc-list] Building latest gcc...
Date: Thu, 20 Mar 2008 08:57:01 -0600
User-agent: KMail/1.9.7

On Thursday 20 March 2008, Neil Davey wrote:
> Hi List,
> I'm trying to build the latest gcc source. I use the following configure
> line:
> ../gcc/configure --target=avr --enable-languages=c
> During the make process (fairly early on I'd say) it gives me the
> following complaint:
> <snip>
> checking for avr-strip... avr-strip
> checking whether ln -s works... yes
> checking for avr-gcc... /home/ndavey/gcc_avr/gcc_avr_build/./gcc/xgcc
> -B/home/ndavey/gcc_avr/gcc_avr_build/./gcc/ -B/usr/local/avr/bin/
> -B/usr/local/avr/lib/ -isystem /usr/local/avr/include -isystem
> /usr/local/avr/sys-include
> checking for suffix of object files... configure: error: cannot compute
> suffix of object files: cannot compile
> See `config.log' for more details.
> make[1]: *** [configure-target-libgcc] Error 1
> make[1]: Leaving directory `/home/ndavey/gcc_avr/gcc_avr_build'
> make: *** [all] Error 2
> Anyone got any suggestions? It's probably something simple.. :)
> Regards
> Neil Davey

Just some general comments.

Did you compile/install binutils first?

My configure line for GCC is
../configure --prefix=$PREFIX --target=avr --enable-languages=c,c++ \
    --disable-nls --disable-libssp --with-dwarf2

Be sure to follow the instructions on the avr-libc website:

And good luck.


reply via email to

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