X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=D3El rQk9UFsRn7rIyHK4M9a7p5RpE8YMqafH9Iydq09lMNwWwZqCkAzSppFuZEo46QQL Z/lS9Pf7wEPKWplkqS8Stn2J4VzEmoCID+WoSkgZlKK9lFZxF3NDVVPlyHJZUsMZ b2UfcaHzX4yjSQhOM/NyLrl1ay3ErDxMzWg+baU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=TFiozHTEFL raAsB6IEOQScqAEi4=; b=qJlKBvkkyQAf/wpJbvgLXndpPtCdx4pWYTdENgwKHs UAcbI73dmg0dckSzQ1lWtb72EzjIc4S49bkcTd5sBYWNuCplHkCnc7R622ejWRl3 3xtU8BJRbYWnSLust5ivFdk2rFehhtDHoO1ypPBi1etQvnPLYQIkE6xsfGrcJ6GC U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HCc:D*cygwin.com, HCc:U*cygwin, medical, Medical X-HELO: mail-wr1-f66.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yhy6x23RtDt8ekxq5I/ByrMKfrebBzsNyaefZuaWADs=; b=UwAyAoobO3Ifqq165WQsSbtzK1bZawAGqri1YFsxByeqqMsiwrkWVGxbFnJl5dFIli z8sma3aWTdWPmU9QQxuGiLefC0lWhEjty14NgSK0dZscIONi8E6FMYhxqSHOqyZGpcvp KElWtwdOzEA5dTd/mGygXkoYH8GchmGwbIFIRD3pFd+OQgfo3cRPosinZBGfmdvRq9js p/E9L18BxiHsdxaoVu3WSlsfZIJ13JerKidebvZzAZoAvtuhXupVZynyETlJa8WMaDdI FiUYMI3jowStKKX+Ve9JeEJnhG6kyIQaYvXg7VUyQJtRBmHIDhtxVO9i7wD1dxUEUJjx zTEA== MIME-Version: 1.0 References: In-Reply-To: From: Sam Habiel Date: Wed, 28 Nov 2018 11:06:37 -0500 Message-ID: Subject: Re: 32 bit vs 64 bit Cygwin, followup To: yselkowi AT redhat DOT com Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Yaakov, Are you telling me that gcc has a flag to support AMD ABI on Cygwin x64? The assembly code is not standalone; it gets called from C code and calls C code. --Sam On Wed, Nov 28, 2018 at 11:01 AM Yaakov Selkowitz wrote: > > On Mon, 2018-11-26 at 14:07 -0500, Sam Habiel wrote: > > Hello everybody, > > > > In this message > > (https://www.sourceware.org/ml/cygwin/2018-11/msg00190.html), Corinna > > (Hi Corinna!) says: > > > > "Don't do that. Use 64 bit Cygwin whenever possible. 32 bit is a lost cause." > > > > I would like to mention why I am still using 32 bit Cygwin. > > > > I maintain a port of a database called GT.M > > (https://en.wikipedia.org/wiki/GT.M) on Cygwin. I work with Electronic > > Medical Records that run on this database. GT.M contains a large > > amount of assembly code, written to run on the x32 Linux ABI and the > > AMD x64 ABI. It's was very easy to get the x32 Linux ABI to run on > > Cygwin x32; Cygwin x64 on the other hand uses the Windows x64 ABI, > > which is very different than the AMD ABI (more detail here: > > https://eli.thegreenplace.net/2011/09/06/stack-frame-layout-on-x86-64/). > > I don't have the expertise nor the time to rewrite a lot of assembly > > code to use the Windows x64 ABI. There are about 100 source code files > > that are in assembly. > > -mabi=sysv ? > > > By the way, thank you for the Async IO APIs. I needed those for newer > > versions of GT.M and was able to port it successfully to Cygwin x32. > > -- > Yaakov Selkowitz > Senior Software Engineer - Platform Enablement > Red Hat, Inc. > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple