delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/25/17:44:39

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=uaR5BUkZaTEjTbgwbZAxVTmFyzFhVYbhCMpBgvK5W2n
xxCCUzCigaAMKm+4pqI3d0Ok9D3oMxMY9O0Uftrlsl6DFEW65/3CNk1+Z5HTzeiV
tTrpqBogBVN3pNw2gjKK3E8iWzLsBIQ0293yn/mI1QHtaY1JmwEClHehCQW1ahr8
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=oUGDIm7UD3N2o06n21Xuol+9azc=; b=EOrr+1pQ87U2eI338
F/LEMufKjo8zhZIrJIJmdKSqImjYRsn7kAQE02cCxUuRdY2ue0o//Qz8QUGj95cu
iU3M5Yjv+xghvRRg9McQnnnagIf0N5dn+x4lxIYKlCUOqLPmmbiKcwjGmBBoYw6z
zeowLLXHDMzFoAINgVakwsKglY=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Message-ID: <535AD731.8040809@etr-usa.com>
Date: Fri, 25 Apr 2014 15:44:17 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: 64-bit vs. 32-bit
References: <CABn7SNaxsvGXsEjkQM6csfpbnBRRhds6g6ajQSy=MwErSLkx1A AT mail DOT gmail DOT com>
In-Reply-To: <CABn7SNaxsvGXsEjkQM6csfpbnBRRhds6g6ajQSy=MwErSLkx1A@mail.gmail.com>
X-IsSubscribed: yes

On 4/25/2014 11:26, Tom Szczesny wrote:
>
> CYGWIN_NT-6.1-WOW64

"WOW64" means 32-bit Windows emulated on top of 64-bit Windows.[1]  This 
tells you that Cygwin is running inside that 32-bit environment.

> If I did install the 64-bit version, when I rebuild my Linux app on
> Cygwin, do I automatically get a 64-bit executable (that will not run
> on a 32-bit Windows computer)?

You actually have to go out of your way to get a 32-bit executable when 
running 64-bit Cygwin, and vice versa.  So yes, if you install 64-bit 
Cygwin, you don't have to worry about accidentally getting 32-bit 
executables.

You don't have to guess and hope, though.  From 32-bit Cygwin:

     $ file /bin/ls
     /bin/ls: PE32 executable (console) Intel 80386 (stripped to 
external PDB), for MS Windows

     $ file /cygdrive/c/cygwin64/bin/ls
     /cygdrive/c/cygwin64/bin/ls: PE32+ executable (console) x86-64, for 
MS Windows

file(1) saith sooth what what form of executable thou hast wrought.

You might also find this piece enlightening: http://goo.gl/qv5ki7



[1] http://goo.gl/uGmKYv

--
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