[PATCH] Cygwin: define OUTPUT_FORMAT and SEARCH_DIR for AArch64

Radek Barton radek.barton@microsoft.com
Tue Jun 24 19:49:40 GMT 2025


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?= <radek.barton@microsoft.com>
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ň <radek.barton@microsoft.com>
---
 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Cygwin-define-OUTPUT_FORMAT-and-SEARCH_DIR-for-AArch64.patch
Type: application/octet-stream
Size: 992 bytes
Desc: 0001-Cygwin-define-OUTPUT_FORMAT-and-SEARCH_DIR-for-AArch64.patch
URL: <https://cygwin.com/pipermail/cygwin-patches/attachments/20250624/82387778/attachment.obj>


More information about the Cygwin-patches mailing list