delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/21/11:45:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 21 Mar 2008 12:44:35 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin on x64
Message-ID: <20080321164435.GC20808@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <b609cb3b0803131219j7e085870n5cc488a22ca9f773 AT mail DOT gmail DOT com> <01a601c8853f$d0bf7020$2708a8c0 AT CAM DOT ARTIMI DOT COM> <b609cb3b0803210917x2ced2ae6gafb24b4f4a79ff63 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <b609cb3b0803210917x2ced2ae6gafb24b4f4a79ff63@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, Mar 21, 2008 at 12:17:56PM -0400, NightStrike wrote:
>On 3/13/08, Dave Korn <dave DOT korn AT artimi DOT com> wrote:
>> NightStrike wrote on 13 March 2008 19:20:
>>
>> > Is cygwin for Win64 native 64-bit, or does it run in the WoW
>> > compatibility layer?
>>
>>  The latter.  There's no such thing as "cygwin for Win64"; the dll itself,
>> and all the packages, exist only in bog standard 32-bit ix86 versions.
>
>Now that there's a more or less working compiler for Win64, what's
>required to get at the very least the cygwin dll to compile?
>
>A very quick attempt with the current compiler yields this:
>
>cc -L/home/nightstrike/cyg/build/x86_64-pc-mingw32/winsup/mingw
>-L/home/nightstrike/cyg/build/x86_64-pc-mingw32/winsup/w32api/lib
>-isystem /home/nightstrike/cyg/cygwin-snapshot-20080318-1/winsup/mingw/include
>-isystem /home/nightstrike/cyg/cygwin-snapshot-20080318-1/winsup/w32api/include
>-c -DHAVE_CONFIG_H -g -O2   -I.
>-I../../../cygwin-snapshot-20080318-1/libiberty/../include  -W -Wall
>-Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic
>../../../cygwin-snapshot-20080318-1/libiberty/regex.c -o regex.o
>In file included from ../../../cygwin-snapshot-20080318-1/libiberty/regex.c:196:
>/home/nightstrike/cyg/cygwin-snapshot-20080318-1/winsup/mingw/include/ctype.h:
>In function 'isalnum':
>/home/nightstrike/cyg/cygwin-snapshot-20080318-1/winsup/mingw/include/ctype.h:154:
>error: '_imp____mb_cur_max_dll' undeclared (first use in this
>function)

What are you asking?  Are you asking if making a true 64-bit version of
cygwin1.dll just requires building the dll with a 64-bit compiler?  If
so, then the answer is that it is not that simple.  There is quite a bit
more work involved than just recompiling.  32-bit assumptions would have
to be rethought throughout the cygwin and newlib sources.

It is not a small job.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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