From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76954 invoked by alias); 6 Jun 2018 16:05: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 76890 invoked by uid 89); 6 Jun 2018 16:05:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=UD:ru, HX-Priority:Normal, H*F:D*yandex.ru X-HELO: forward102p.mail.yandex.net Received: from forward102p.mail.yandex.net (HELO forward102p.mail.yandex.net) (77.88.28.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Jun 2018 16:05:05 +0000 Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 322904306981; Wed, 6 Jun 2018 19:05:02 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id dSMpjWMxWh-51S8BSZk; Wed, 06 Jun 2018 19:05:02 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id sQA8mYxLpO-51KaOecN; Wed, 06 Jun 2018 19:05:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 06 Jun 2018 16:02:09 -0000 Date: Wed, 06 Jun 2018 16:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <41519955.20180606190209@yandex.ru> To: Ulli Horlacher , cygwin@cygwin.com Subject: Re: running self compiled 32 bit binary on 64 bit Windows? In-Reply-To: <20180606115005.GA15015@rus.uni-stuttgart.de> References: <20180606115005.GA15015@rus.uni-stuttgart.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00064.txt.bz2 Greetings, Ulli Horlacher! > On Windows 7 32 bit I have compiled some binaries by myself. > I can run them there but not on a Windows 8 64 bit: no (error) message, > nothing happens. > admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: uname -a > CYGWIN_NT-6.3 WIN-7T5P92ALEEB 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin > admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ll jed > -rwxr-xr-x admin None 480,235 2018-04-10 11:58:59 jed > admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: file jed > jed: PE32 executable (console) Intel 80386, for MS Windows > admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ldd jed > ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffe0e520000) > ??? => ??? (0x77330000) > wow64.dll => /cygdrive/c/Windows/SYSTEM32/wow64.dll (0x772d0000) > wow64win.dll => /cygdrive/c/Windows/system32/wow64win.dll (0x77260000) > wow64cpu.dll => /cygdrive/c/Windows/system32/wow64cpu.dll (0x77320000) > > admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ./jed > admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: > Do I have to install some 32 bit libs? Of course. Did you read the documentation or what? > Which ones? cygwin1.dll at least. Plus whatever API's your application is using. -- With best regards, Andrey Repin Wednesday, June 6, 2018 19:00:59 Sorry for my terrible english... -- 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