DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B5Cit9Y1291768 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5B5Cit9Y1291768 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=t8T6k4hj X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D68FD4CCCA19 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1764938694; bh=PFxAVujDt6HdvGunN1Uz70PXdhif9lAMO57FYlVO+ig=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=t8T6k4hjidZFVH4TfEQ0FtysJuYI5UbTMLA/+eYlE3Kz8Mvoe+mYC+ohUXcmIDbf6 P5eB7oE0L3b7K8v0q5Z/Yy6a5K1lZKqHv1BGjPBZ89PH/bHJIkO/05UDtywBcxrTTr PnmDfjrcNxB2r1QlRbzo84m5wy5B9tCG22y+Wolo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 819114BCA41B Date: Fri, 5 Dec 2025 13:44:35 +0100 To: cygwin AT cygwin DOT com Subject: Re: Support for aarch64-w64-mingw32 into windows-default-manifest Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com, "Carlo B." References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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