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

John David Anglin
2013-05-11T19:13:11Z

On 11-May-13, at 3:04 PM, Helge Deller 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
> hppa1.1-unknown-linux-gnu
> hppa1.1-linux-gnu
> hppa1.1-linux
> hppa2.0-unknown-linux-gnu
> hppa2.0-linux-gnu
> hppa2.0-linux

As I tried to say before, I would search for hppa2.0 before hppa1.1 in
case both are installed.

Dave
--
John David Anglin dave.anglin@bell.net