RE: GCC 4.7.0 as a AVR cross compiler

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

 




> -----Original Message-----
> From: Ian Lance Taylor [mailto:iant@xxxxxxxxxx]
> Sent: Friday, March 30, 2012 1:22 PM
> To: stuart
> Cc: gcc@xxxxxxxxxxx
> Subject: Re: GCC 4.7.0 as a AVR cross compiler
> 
> stuart <stuart@xxxxxxxxxxxxxxxxxxx> writes:
> 
> > I am not sure this is the right place to ask this
> 
> It's not.  The right place is gcc-help@xxxxxxxxxxx.  Please take any
> followups there.  Thanks.
> 
> 
> > I can not seem to get gcc 4.7.0 to compile; it will not complete the
> > configuration stage complaining about missing packages (GMP, MPFR
and
> > MPC). I have tried to cross compile these packages for the Atmel AVR
> > Mega series but the only one that seems to complete is the GMP
> > package. The cross compile did produce a lib file (and install it
and
> > the gpm.h file in the correct place) but nothing else would accept
that
> > GMP was present on the system.
> 
> You need to have GMP, MPFR, and MPC for the host.  You do not need to
> cross-compile them for AVR.

Also, I wouldn't necessarily recommend 4.7.0 for the AVR. It really
needs some follow-up patches. I would recommend using 4.6.3, as it's a
more stable release.

Eric Weddington



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux