delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/06/12:05:19

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=N/eZkpIXmMdl6lXg
tQADYmEC9wnMTN5jl+940P3Uld/qaCIq0uI6wEIYiwW8JxM5NjVyfwODgeP5SNpE
VJKhBbfzogmPBL516KgNgRymQVzkvVGIGBjgWJlZlIE4EXJVPEjZhHwL2ZNDbKK1
Afplhe7Y2l+SANCTLMUIZiZ0JuQ=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=1uafPy1ndJmAUZT8yONpIH
kWlbo=; b=h0ucm5ZrxfiLwDeCHukJSmlYyK+u9CJ4dAbRYK9TqPZHwPe7XkgnRt
gQm0a1+KJsphQBuBQtjFWZAePFL2HSPjfcYH+6kXUbRdVp77iF+PsbTFYttW5Ynk
Dk+D9AblPc2tpM+aHC093V1KRJtjLh4nHxi0G5Jv7IUIyoeL3z4tw=
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=-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
Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 6 Jun 2018 19:02:09 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <41519955.20180606190209@yandex.ru>
To: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>, cygwin AT cygwin DOT com
Subject: Re: running self compiled 32 bit binary on 64 bit Windows?
In-Reply-To: <20180606115005.GA15015@rus.uni-stuttgart.de>
References: <20180606115005 DOT GA15015 AT rus DOT uni-stuttgart DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

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 AT 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 AT 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 AT WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: file jed
> jed: PE32 executable (console) Intel 80386, for MS Windows

> admin AT 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 AT WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ./jed
> admin AT 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

- Raw text -


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