delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=OxjLTlEqoQ/IopEz | |
f0r8ajhcyGGZ5cS5AV3XBDqMt6de0tdDC5JZfPrPJsc+R1NWluWZU49VdNxvArl8 | |
ufUv5Dp/KfVi0Ex7i9XnsY4ZWLxH0PP8SGDF/eX9+9OIQ+ZmquYWW8/zKJPx81I0 | |
wVXCyQyTnaKedSdQy6kGlqFL060= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=u04zBOK+PdK1vLt+/2WJRk | |
xkLbs=; b=bBqqt0SwajJj7TS99COPKMYPcJWmGacM7DORv71750/YQAXl8bkmry | |
mq5QQW9h+peRuLjd3Kh+DAJ1XlwQV21tBlKv3TeR9cUFGeHbInFIDZTRPZdvTeMm | |
4MHtD92eYoFZqu6kYmYzS0OP2CnylDf4gXZrEDWchW/8ot3jdPvXk= | |
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,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, lacked |
X-HELO: | smtp-out-no.shaw.ca |
X-Authority-Analysis: | v=2.3 cv=GopsBH9C c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=_gqmDMfD322UtP85MhQA:9 a=QEXdDO2ut3YA:10 a=WspVwsfix1wA:10 |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: running self compiled 32 bit binary on 64 bit Windows? |
To: | cygwin AT cygwin DOT com |
References: | <20180606115005 DOT GA15015 AT rus DOT uni-stuttgart DOT de> <ec20b090-01b8-c6fd-71a3-32165e11bed4 AT gmail DOT com> <20180608134248 DOT GC20898 AT rus DOT uni-stuttgart DOT de> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <8c094a4b-1fe9-2993-f1c5-01aa0852c7df@SystematicSw.ab.ca> |
Date: | Fri, 8 Jun 2018 11:44:03 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <20180608134248.GC20898@rus.uni-stuttgart.de> |
X-CMAE-Envelope: | MS4wfOnDbkNMEhjv//jaMflglP+HKdt/152fN9B3DVB7lGTjREsAGKgjYjivK11ZiHq/I+22JQI0x0/vCEAQZw+FSoqCscxlXgUXP7+qR6bDQYEWH+oW/iVB 0fY2ABvXUkANWznPBq5bDtKEUwO37ZOJubswL/KaeOPSKNQ7UView+a2k9+yqCEEbjzn0+rPIbe+xw== |
X-IsSubscribed: | yes |
On 2018-06-08 07:42, Ulli Horlacher wrote: > On Wed 2018-06-06 (16:12), cyg Simple wrote: >>> On Windows 7 32 bit I have compiled some binaries by myself. >> Help us help you by giving us how you compiled these and with what set >> of tools. > jed comes with a BIG makefile. > When I start it, it outputs: > /sw/src/jed-0.99.20-116: make > cd src; make jed > make[1]: Entering directory '/sw/src/jed-0.99.20-116/src' > gcc -O -I/sw/cygwin-7_32/slang-2.3.1-88/include -L/sw/cygwin-7_32/slang-2.3.1-88/lib -DSLANG_DLL=1 -Dunix -DJED -I/sw/cygwin-7_32/slang-2.3.1-88/include /sw/src/jed-0.99.20-116/src/chkslang.c -o /sw/src/jed-0.99.20-116/src/objs/chkslang -L/sw/cygwin-7_32/slang-2.3.1-88/lib -lslang -lutil -lm -ldl > if /sw/src/jed-0.99.20-116/src/objs/chkslang jed 20203 ;\ > then exit 0; else rm -f /sw/src/jed-0.99.20-116/src/objs/chkslang; exit 1; fi > cd /sw/src/jed-0.99.20-116/src/objs; gcc -c -O -I/sw/cygwin-7_32/slang-2.3.1-88/include -L/sw/cygwin-7_32/slang-2.3.1-88/lib -DSLANG_DLL=1 -Dunix -DJED -I/sw/cygwin-7_32/slang-2.3.1-88/include /sw/src/jed-0.99.20-116/src/buffer.c >>> I can run them there but not on a Windows 8 64 bit: no (error) message, >>> nothing happens. >> In what shell are you running these (Cygwin bash, cmd.exe, etc)? > Cygwin bash >> What happens if you use cmd.exe? > Currently I cannot run cmd.exe, it crashes. > Maybe there is the problem? >>> 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) >> No mention of Cygwin in this list so you must have used a non-cygwin >> tool to build the package. > No, I have used cygwin gcc, I have no other compilers! >> Try: >> cmd /c start cmd > A windows pops up and immediatelly closes. Use whatever Windows shortcuts are provided to launch cmd; try as user and as admin to see if there are differences; or from a Cygwin shell run: $ cygstart `cygpath $COMSPEC` /k as /k keeps the window around so you can see any (error) messages. To run Cygwin 32 under Windows 64, you have to download and run setup-x86 to set up the Cygwin 32 registry entries and base environment. If you add .../cygwin32/bin to your user PATH (after .../cygwin64/bin if you have that installed) you can then run Cygwin 32 exes from Cygwin 64 or Windows 64 shells. As stated, this is not recommended, but a number of us probably ran that way for years, as Cygwin 64 initially lacked a lot of packages available only on Cygwin 32. For a few years now, packages to be released must be built and made available for both Cygwin 32 and 64 environments. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |