delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/28/11:07:04

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <CABHT96207sag6z7LMMDiBQciu-B3o7zFoOkYLw3OOSi_S=Kckg AT mail DOT gmail DOT com> <db507cae25f6f4b20af039bf3931e727d9614f61 DOT camel AT redhat DOT com>
In-Reply-To: <db507cae25f6f4b20af039bf3931e727d9614f61.camel@redhat.com>
From: Sam Habiel <sam DOT habiel AT gmail DOT com>
Date: Wed, 28 Nov 2018 11:06:37 -0500
Message-ID: <CABHT963855jsHu0r=1f0dHye9k+uGb21EYkSj1SS+06V0bhsjg@mail.gmail.com>
Subject: Re: 32 bit vs 64 bit Cygwin, followup
To: yselkowi AT redhat DOT com
Cc: cygwin AT cygwin DOT com
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 <yselkowi AT redhat DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019