[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build-aux/config.guess: Add current Haiku targets arm, arm64
From: |
Dmitry V. Levin |
Subject: |
Re: [PATCH] build-aux/config.guess: Add current Haiku targets arm, arm64, riscv64 |
Date: |
Wed, 25 May 2022 01:02:35 +0300 |
On Tue, May 24, 2022 at 09:14:50PM +0000, Alexander von Gluck IV wrote:
> Dmitry V. Levin wrote:
>
> > What do you think about the following patch instead:
> >
> > diff --git a/config.guess b/config.guess
> > index 160ecf0..b07202e 100755
> > --- a/config.guess
> > +++ b/config.guess
> > @@ -1378,8 +1378,11 @@ EOF
> > BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
> > GUESS=i586-pc-haiku
> > ;;
> > - x86_64:Haiku:*:*)
> > - GUESS=x86_64-unknown-haiku
> > + arm64:Haiku:*:*)
> > + GUESS=aarch64-unknown-haiku
> > + ;;
> > + arm:Haiku:*:* | riscv64:Haiku:*:* | x86_64:Haiku:*:*)
> > + GUESS=$UNAME_MACHINE-unknown-haiku
> > ;;
> > SX-4:SUPER-UX:*:*)
> > GUESS=sx4-nec-superux$UNAME_RELEASE
> > diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data
> > index 7065a41..102e581 100644
>
> .
> .
>
> Looks good to me :-)
>
> ... actually, I just double checked arm64, and we actually keep our uname
> platform consistent with linux via aarch64. So that one can also be combined
> too:
>
> (aka arm:Haiku:*:* | aarch64:Haiku:*:* | riscv64:Haiku:*:* | x86_64:Haiku:*:*)
>
> Source:
> https://cgit.haiku-os.org/haiku/tree/src/system/libroot/posix/sys/uname.c#n55
>
> Sorry for the mistake there. We call aarch64 "arm64" everywhere except where
> it
> counts :-)
OK, could you post the final patch, please?
--
ldv