X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5708385842C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1638962005; bh=LSQTLmWDCV7Svxh81ICrsSxw8nSv6FN6eLhiUrbz2F4=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To:From; b=DrXemxdvGmx7DKh03DXREQDKG2jyxMJbCEyvk5PqughkK3/MIkunLWEXMhuQrR66Y t+7D85Vce31/7I/O673xMI7dklFdpjgVPUSrXlHnRvN3h+Bwl9OGvn+O6htqP9hwcA nw4KgtBgOWHa07GWJHqvbHOps9QYPv0Zph4ZRxj0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6B2883858406 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Date: Wed, 8 Dec 2021 12:12:12 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Native ARM support for Cygwin Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <1918386184 DOT 561539 DOT 1638929253143 DOT ref AT mail DOT yahoo DOT com> <1918386184 DOT 561539 DOT 1638929253143 AT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1918386184.561539.1638929253143@mail.yahoo.com> X-Provags-ID: V03:K1:dUkW1v1PbEffrQAFpP6/QkK5ghzqjVJQLIXEGMNCKpn3LYqMOrX 8Ke95+0tn/U5cIqjXO2gYqIHckjbf8nlYlR9BYBfiRibSO8vBi3o8+aCfwUms5gSaef2N1I tzGdWfuxRkl1n/4CEcN+XuhYJLTxxjxi4kHuWI5gQ5xCw711rS7jYfcp2Gm2HolvVscJzu4 Tv8BbYw6g5d18jHwZh0fg== X-UI-Out-Filterresults: notjunk:1;V03:K0:atN+y0VewmU=:lP2fr3jzCgni92/RBtws4S 9dNIVm3XqDJzIh8iM+p1rB/2MyALDM6vsGuEIujMNiDIO628DlzlV9/6VnnEPzEqbXKjkw1nG b+no9Q8YJB0/UTgf42no9UCgh+Hx42x57yms5rBQz7GF7Q8clxzNklffmKDfYiHwPZy1FPjeQ Vf2lfEj18vlsrPcywDSJFoYbv8apwDvBdfwUr9hv/AnbsZntIwGTJVyyaIjZiDKz5SK+I/bxp TewBe0Vcp8y3yBj6VHuZmETLRiaWp/93zP5DAPFL2TngPuB0VFxTxJ/OsnQQDzvJR0550CCki fcQasIwfgzfHokm+f55AA+W4GoYkl7XjFmWVll+KzJPMtee5qnTKT7UDeHoAvhsmGZgsBqZ/R nsbqz4FASe3b/ATuqEI4A3PfbUZTKnzqaKDnU2MKk8Oh8vttvguzKFXwAuPXA1Su3XZYhl8nk oFS0JviZLsN1vjY59YTPQqQRYfXz9iYDvs4z0cCqfTZ/K4bVTOrKP82nOrzaWogHxKfTZ15fq 0EBv0LrGmRl7cKdT7zQQyzyPaecMSLdJSHynQ+9ZR+tzlo1cVgPyaZPbBpGStuPq5wzbBwMRP Py+xMxutTJVudMNUggZOn8dZfEGnRXdRmdx5QYMRsw9cB3rJyMxjFMjgdOuNFDF6BDeQkS+Ht rGxMVKEkUoUuk6Q1sydGTGa1lLKqFvWad4EqoJllW+9pkr/zDV/9f2E3YUSvYFvKvekdyQ+b8 WZuuPHKL1cuUXh+5 X-Spam-Status: No, score=-99.4 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1B8BDQxp015241 On Dec 8 02:07, Aaron Franke via Cygwin wrote: > Hello Cygwin, > I am wondering what are the plans for adding support for native ARM64 > Windows to Cygwin. > Currently there are only downloads for x86 (both 32-bit and 64-bit), > but not for ARM. > I do see in the FAQ that there is a mention of how ARM systems can run > the x86 version of Cygwin, however I am interested in a native ARM64 > toolchain if possible. By the way, I'm only interested in 64-bit ARM. No plans. To create an ARM64 version of Cygwin we need: - Toolchains (binutils, gcc, gdb) targeting aarch64-pc-cygwin and aarch64-w64-mingw32. I don't know if the mingw toolchain already exists, but if so, the Cygwin toolchain could be derived from there. The differences would be basically the same as on x86_64 (sizeof(long), different default link libs, etc) - Make sure Mingw-w64 for ARM is working as desired, including the special code for Cygwin in there. AFAIK, Mingw-w64 for ARM64 is still in an experimental stage, but I could be wrong. - Make sure to understand the differences between ARM64 ABI on Windows vs. the default aarch64 ABI (if any). - At least one person who's fluent in aarch64 assembler who will take a stab at creating matching aarch64 assembler code snippets in places we have x86 and x86_64 assembler today. We might get away with some of the code being in newlib already (memset/memcpy). - ARM64 Windows and hardware for testing. I don't see anything of that happen any time soon ¯\_(ツ)_/¯ 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