config-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] build-aux/config.guess: Add current Haiku targets arm, arm6


From: Alexander von Gluck IV
Subject: Re: [PATCH] build-aux/config.guess: Add current Haiku targets arm, arm64, riscv64
Date: Tue, 24 May 2022 21:14:50 +0000

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 :-)

-- Alex



reply via email to

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