X-Recipient: archive-cygwin@delorie.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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=Taff6
	Q/7pZnBJxzpwIjTDwmpIZd0R9FB8rqjbX1cAnYzvZKCUkFnMY/hVC+ByJDyE1lxs
	ZjjhP10uqIswmpZSSdm+o/s4nEoOL6+SiVlXpanqa7digxh+XvvoJFUxCKE5/unG
	dlKudN7vPw9xjiawPxcQYFWAsLbJSALY/BDB9c=
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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=zDI+ZY3Hkpg
	JktMUOCxNzppjZBg=; b=w7VF0J708P1Dp06qWX2WUKO5xNTkLIRF1G6C5t/O85a
	rfsHqtD3kcl/iXA87qoK9Pn/Xrq7ZxBMPejHusL/sTN9XKX43ZlbxZY+tufSkX2B
	5fMcW4Qtw8qELct9eiSBUPEIwIB77DMdb/GTqOfMGASq3lwaYL1vBoo0WV/r42BU
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=wow64, subsystem, wave, Hx-spam-relays-external:ESMTPA
X-HELO: mx009.vodafonemail.xion.oxcs.net
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: running self compiled 32 bit binary on 64 bit Windows?
References: <20180606115005.GA15015@rus.uni-stuttgart.de>	<0F7D3B1B3C4B894D824F5B822E3E5A17787FB4BB@IRSMSX102.ger.corp.intel.com>	<3110356010.20180606204945@yandex.ru>	<20180608131943.GA20898@rus.uni-stuttgart.de>
Date: Fri, 08 Jun 2018 21:04:45 +0200
In-Reply-To: <20180608131943.GA20898@rus.uni-stuttgart.de> (Ulli Horlacher's	message of "Fri, 8 Jun 2018 15:19:43 +0200")
Message-ID: <87lgbpje0i.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-VADE-STATUS: LEGIT

Ulli Horlacher writes:
> I have compiled the application with gcc from cygwin.

You've compiled with the native compiler on a 32bit Cygwin, producing a
32bit Cygwin executable.

> It runs without problems on Windows 7 32 bit but on Windows 8 64 bit it
> does not output ANYTHING. No (error) message, nothing.

You will either need to compile natively as a 64bit Cygwin executable,
cross-compile to 64bit Cygwin, or target another cross-compiler at
Windows 64bit or 32bit executables as you deem appropriate.  In all
cases any required runtime DLL need to be provided in the correct format
as well.

> How can I debug it?

There is nothing to debug, this is simply not supposed to work.  Before
you ask, it doesn't work on Windows either (with 32bit Windows
applications) unless the WoW64 subsystem is installed (it _almost_
always is, except in Core and Nano) nor would it work on Linux unless
the 32bit loaders and libraries are installed.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

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

