avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] avr-libc-1.7.0 fails to compile


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] avr-libc-1.7.0 fails to compile
Date: Wed, 3 Nov 2010 15:25:02 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As Georg Lay wrote:

> Thanks, that works. Now using 3.81 instead of 3.80.

Yes, Dmitry introduced some pattern derivations that require 3.81.

> One more question: How does avr-libs determine if a specific target is
> supported or not?

See configure.ac: it tries to test-compile a minimal piece of code,
and relies on GCC's exit code to see whether the respective -mmcu
option value is acceptable or not.  GCC currently has a bug in that it
doesn't correctly report an error status if the -mmcu option value is
not actually supported (GCC bug #45261); instead, it relies on the
assembler to fail.  So if your binutils support a device the compiler
doesn't support, the decision will be wrong.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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