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

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

Re: [avr-gcc-list] [Patch, avr-libc]: Relax sanity check for CC from *av


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] [Patch, avr-libc]: Relax sanity check for CC from *avr*gcc* to *gcc*
Date: Mon, 31 Oct 2011 21:03:55 +0100
User-agent: Thunderbird 2.0.0.24 (X11/20100302)

Georg-Johann Lay schrieb:
> This is a proposed patch to allow compiler names that don't fit into the
> "avr-gcc" scheme like, e.g. "xgcc".
> 
> Johann
> 
>       * configure.ac (CC): Use `${CC} -dumpmachine` to query for right cross
>       compiler instead of checking CC.

Or, even better:

+       Xavr*X) ;;

instead of

+       XavrX) ;;

This will detect avr32*-gcc as correct compiler (that's problem the old code
has also) but allow avr-rtems-*.

Johann





reply via email to

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