From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32365 invoked by alias); 8 Jun 2018 19:05:04 -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 32350 invoked by uid 89); 8 Jun 2018 19:05:02 -0000 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 Received: from Unknown (HELO mx009.vodafonemail.xion.oxcs.net) (153.92.174.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Jun 2018 19:05:00 +0000 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 8AABFD9B648 for ; Fri, 8 Jun 2018 19:04:52 +0000 (UTC) Received: from Gertrud (unknown [87.185.213.130]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 65BFC199C17 for ; Fri, 8 Jun 2018 19:04:50 +0000 (UTC) From: Achim Gratz 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 19:05:00 -0000 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 X-SW-Source: 2018-06/txt/msg00109.txt.bz2 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