Support for aarch64-w64-mingw32 into windows-default-manifest

"Carlo B. via Cygwin" <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CADt9576zVEQqozwKF=-a5KRMKAMwbw7thu=53QYEXfh2uoeHpQ@mail.gmail.com>
Hello,
my aarch64-w64-mingw32 cross compiler requires
windows-default-manifest for compiling itself, otherwise the linker
prints an error because default-manifest.o is missing.
I recovered windows-default-manifest package from here:

https://sourceware.org/git/cygwin-apps/windows-default-manifest.git

However, it requires a tiny fix for supporting also Windows for ARM64.
I fixed it and I attached my patch here, but since it seems to be not
touched in the last 11 years (at least from the logs), I'm not sure
where I can send my patch and if there is a maintainer for eventually
updating that package with my patch.
Thank you very much.

Sincerely,

Carlo Bramini.

--- origsrc/windows-default-manifest/configure.ac    2025-12-04
14:57:18.000000000 +0100
+++ src/windows-default-manifest/configure.ac    2025-12-05
09:36:32.509386400 +0100
@@ -27,6 +27,9 @@ case "${host_cpu}" in
   x86_64)
     RC_FLAGS="-F pe-x86-64"
     ;;
+  aarch64)
+    RC_FLAGS="-F pe-aarch64-little"
+    ;;
 esac

 AC_SUBST(RC_FLAGS)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.