On Dec 5 09:56, Carlo B. via Cygwin wrote:
> 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.
Sending it to this mailing list was the right thing to do. Thanks for
the patch. I'll update the package in the next couple of days.
I'm only a bit surprised. Mingw-w64 supports aarch64 a bit longer
already, so I wonder that this hasn't been found earlier...
> 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)
Thanks,
Corinna
--
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