[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Where to get? (compile problems)
From: |
Mark Williams (MWP) |
Subject: |
Re: [avr-gcc-list] Where to get? (compile problems) |
Date: |
Thu, 20 Mar 2003 02:11:05 +1030 |
User-agent: |
Mutt/1.5.3i |
> > Hi all,
> >
> > Ive been out of the AVR game for a little while, but am now getting back
> > into
> > it for a small project.
> >
> > So... currently, where is the best place to get the latest AVR GCC patches
> > and Linux AVR
> > tools from?
>
> Ok, im trying to compile GCC 3.2, along with the latest binutils, whetever
> version that may be.
>
> Compiling binutils with "--prefix=/usr/local/avr --target=avr" goes ok, and
> installs fine.
>
> Compling GCC 3.2 with the same options as above creates problems though.
>
> Sometime during the build i get this error:
>
> checking whether the C compiler (/home/share/backup/linux/gcc-3.2/gcc/xgcc
> -B/home/share/backup/linux/gcc-3.2/gcc/ -B/usr/local/avr//avr/bin/
> -B/usr/local/avr//avr/lib/ -isystem /usr/local/avr//avr/include -g -O2 )
> works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> make: *** [configure-target-libiberty] Error 1
>
> Is this a known 3.2 problem?
Another update...
I patched up to GCC 3.2.2 and ran:
./configure --prefix=/usr/local/avr --target=avr --enable-languages="c,c++"
I still get the same error as above... argh.
Any ideas?
Thanks.