From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11802 invoked by alias); 25 Apr 2014 21:44:23 -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 11790 invoked by uid 89); 25 Apr 2014 21:44:22 -0000 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 Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Apr 2014 21:44:21 +0000 Received: (qmail 53572 invoked by uid 13447); 25 Apr 2014 21:44:20 -0000 Received: from unknown (HELO [172.20.0.42]) ([68.35.121.157]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with SMTP for ; 25 Apr 2014 21:44:20 -0000 Message-ID: <535AD731.8040809@etr-usa.com> Date: Fri, 25 Apr 2014 21:44:00 -0000 From: Warren Young 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 Subject: Re: 64-bit vs. 32-bit References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00593.txt.bz2 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