On Tue, 24 Jun 2025, Radek Barton via Cygwin-patches wrote:

> Hello.
>
> This change defines `OUTPUT_FORMAT` and `SEARCH_DIR` in 
> `winsup/cygwin/cygwin.sc.in` file for AArch64.
>
> Radek
>
> ---
> From 420a2c9bd13c338c037e583b663ccdabf4c02cd4 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Radek=20Barto=C5=88?= <[email protected]>
> Date: Fri, 6 Jun 2025 14:13:16 +0200
> Subject: [PATCH] Cygwin: define OUTPUT_FORMAT and SEARCH_DIR for AArch64
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Signed-off-by: Radek BartoĊˆ <[email protected]>
> ---
>  winsup/cygwin/cygwin.sc.in | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/winsup/cygwin/cygwin.sc.in b/winsup/cygwin/cygwin.sc.in
> index 5007a3694..3322810cc 100644
> --- a/winsup/cygwin/cygwin.sc.in
> +++ b/winsup/cygwin/cygwin.sc.in
> @@ -1,6 +1,9 @@
>  #ifdef __x86_64__
>  OUTPUT_FORMAT(pei-x86-64)
>  SEARCH_DIR("/usr/x86_64-pc-cygwin/lib/w32api"); 
> SEARCH_DIR("=/usr/lib/w32api");
> +#elif __aarch64__
> +OUTPUT_FORMAT(pei-aarch64-little)
> +SEARCH_DIR("/usr/aarch64-pc-cygwin/lib/w32api"); 
> SEARCH_DIR("=/usr/lib/w32api");
>  #else
>  #error unimplemented for this target
>  #endif
> --
> 2.49.0.vfs.0.4
>
>

LGTM

Reply via email to