Re: [PATCH] parisc: make default cross compiler search more robust (v4)

Jeroen Roovers
2013-05-12T18:33:41Z

On Sat, 11 May 2013 23:55:55 +0200
Helge Deller <deller@gmx.de> wrote:

> People/distros vary how they prefix the toolchain name for 64bit
> builds. Rather than enforce one convention over another, add a for
> loop which does a search for all the general prefixes.
>
> For 64bit builds, we now search for (in order):
> hppa64-unknown-linux-gnu
> hppa64-linux-gnu
> hppa64-linux
>
> For 32bit builds, we look for:
> hppa-unknown-linux-gnu
> hppa-linux-gnu
> hppa-linux
> hppa2.0-unknown-linux-gnu
> hppa2.0-linux-gnu
> hppa2.0-linux
> hppa1.1-unknown-linux-gnu
> hppa1.1-linux-gnu
> hppa1.1-linux
>
> This patch was initiated by Mike Frysinger, with feedback from Jeroen
> Roovers, John David Anglin and Helge Deller.
>
> CC: Mike Frysinger <vapier@gentoo.org>
> CC: Jeroen Roovers <jer@gentoo.org>
> Signed-off-by: John David Anglin <dave.anglin@bell.net>
> Signed-off-by: Helge Deller <deller@gmx.de>

Signed-off-by: Jeroen Roovers <jer@gentoo.org>

jer