From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79189 invoked by alias); 28 Nov 2018 16:01:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 79129 invoked by uid 89); 28 Nov 2018 16:01:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Senior, corinna, Corinna, expertise X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Nov 2018 16:01:03 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C8FCDD9C3; Wed, 28 Nov 2018 16:01:02 +0000 (UTC) Received: from ovpn-117-163.phx2.redhat.com (ovpn-117-163.phx2.redhat.com [10.3.117.163]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 194C661520; Wed, 28 Nov 2018 16:01:00 +0000 (UTC) Message-ID: Subject: Re: 32 bit vs 64 bit Cygwin, followup From: Yaakov Selkowitz To: Sam Habiel , cygwin@cygwin.com Date: Wed, 28 Nov 2018 16:01:00 -0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg00227.txt.bz2 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