> -----Original Message-----
> From: Joseph Myers [mailto:jos...@codesourcery.com]
> Sent: Thursday, August 22, 2013 10:37 AM
> To: Nick Clifton
> Cc: cherty...@gmail.com; ae...@post.ru; Weddington, Eric; gcc-
> patc...@gcc.gnu.org
> Subject: Re: RFA: AVR: Support building AVR Linux targets
> 
> On Mon, 12 Aug 2013, Nick Clifton wrote:
> 
> > Hi Dennis, Hi Anatoly, Hi Eric,
> >
> >   I have run into a small problem building GCC for an AVR Linux
> target -
> >   glibc-c.o is not being built.  It turns out that the section
> handling
> >   "avr-*-*" in the config.gcc file is redefining tmake_file without
> >   allowing for the fact that t-glibc has already been added to it.
> 
> Your patch itself makes sense on general principles, but the concept of
> an
> AVR Linux target doesn't - this is an 8-bit processor....  Really, the
> bug
> you've found is that there's an avr-*-* case that is too general,
> matching
> nonsensical targets such as AVR Linux rather than just avr-*-none /
> avr-*-elf.

Thanks for pointing that out Joseph.

Strangely, someone actually has run Linux on an AVR:
http://dmitry.gr/index.php?r=05.Projects&proj=07.%20Linux%20on%208bit

But only by running it on an ARM emulator running on the AVR. 

Eric

Reply via email to