RFA: AVR: Support building AVR Linux targets

Joseph S. Myers joseph@codesourcery.com
Fri Aug 23 22:14:00 GMT 2013


On Fri, 23 Aug 2013, nick clifton wrote:

> Hi Joseph,
> > 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.
> 
> Fair enough.  Would you like me to
> 
>   A. Apply the patch anyway.  On the general principle that target specific
> sections in config.gcc add to tmake_file rather than override it.
> 
>   B. Do nothing.  On the general principle that if it ain't broke don't fix
> it.
> 
>   C. Draw up another patch that restricts the AVR patterns in config.gcc to
> -none and -elf.

A and C - I think both changes should be applied.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list