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=taNIgVv8eGT9iISH Ohayx2xOXoxDqZQX5WHK1SKvA7f1lXds/9x/NCoDmuVSC8RdG0u/adgbQFfghZ/g 0yaXsq9vQ9Vp1QtzaWI/W3cTGsbsI/AgjQo8hUNmGMU3o/RlnZ9aJlNHvoKo5yId b4jnKO0Cm6XUFVsJhBeVvOERYr0= 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=2ENy8kXyTT3eYOOC1vQ/RG 43B7w=; b=JKGDMxz5D3wzlyvWQjOZTRlT3XVtAtS1Nra0RbbnimdT4hTu+NmOe2 8JhadNWJNpRTQPhpvnkak6oskhS2btoKlWA48Oe7eJZ8zn3QJl6P6FfauRa6lf3s 9FM74d1nM3AhQ49ZXPZMrqaycu1Vo8FRZUVMLnJCBgkUM011pYx0o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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=accident, english, HX-Priority:Normal, H*x:Bat! X-HELO: forward105p.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1531102801; bh=aLeHpMawoRX7ZPgrEmxL7/LVNKNdsUSDBuLc5ovDsdQ=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Hi+rG4AQvik8CTFR8XmG+tbK0xIuT4cZDzNXZrM3+LZbUt1za5Igst4XjoWPfSdmV 99odc+4WJkx5T8+1tWFpfBj/vMH4zUA1SwoalmeNbENdhWUPheb1v3QQNh8fzFSHvi 2g0uWo4rTnwaKjl548V5lL6o0WZtX5mieG3x1bqw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1531102800; bh=aLeHpMawoRX7ZPgrEmxL7/LVNKNdsUSDBuLc5ovDsdQ=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=sVc4y3sUlvyReLysC70enB1/rPnHXV06iTlerikrdZu04z5EtYnhVJymS8vq4meLO f1AB6o+TXR40uwdKaqmjIRnq+V3kWcW8B+1qPRCG13+IDK9uY8R07kx86h91u+sVES IOyzrFR2wXG3XSNuneIdxpsctqqpJKTnJJkG8ypk= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Mon, 9 Jul 2018 05:18:34 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1124060518.20180709051834@yandex.ru> To: Ulli Horlacher , cygwin AT cygwin DOT com Subject: Re: running self compiled 32 bit binary on 64 bit Windows? In-Reply-To: <20180709002131.GA3525@rus.uni-stuttgart.de> References: <20180606115005 DOT GA15015 AT rus DOT uni-stuttgart DOT de> <0F7D3B1B3C4B894D824F5B822E3E5A17787FB4BB AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <3110356010 DOT 20180606204945 AT yandex DOT ru> <540c62ab-2519-9f57-6565-d536d8b74ef2 AT gmail DOT com> <944481618 DOT 20180607010455 AT yandex DOT ru> <20180608133017 DOT GB20898 AT rus DOT uni-stuttgart DOT de> <0F7D3B1B3C4B894D824F5B822E3E5A17787FD684 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <20180608135221 DOT GF20898 AT rus DOT uni-stuttgart DOT de> <49498971 DOT 20180608194124 AT yandex DOT ru> <20180709002131 DOT GA3525 AT rus DOT uni-stuttgart DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Ulli Horlacher! > On Fri 2018-06-08 (19:41), Andrey Repin wrote: >> >> 2.) Do a Cygwin build and copy cygwin1.dll >> >> > I already have a /usr/bin/cygwin1.dll on the Windows 8 target system. >> >> It's a wrong architecture. You need a 32-bit one for your 32-bit program. >> >> > Do I have to replace it? >> >> No. >> Just build a 64-bit version of your program. > SIGH. I was hoping a 32 bit cygwin with 32 bit self compiled programs will > run on 64 bit Windows, too. But I was wrong. > Meanwhile I have 4 VMs: > Windows 32 bit with 32 bit cygwin > Windows 32 bit with 32 bit cygwin for compiling > Windows 64 bit with 64 bit cygwin > Windows 64 bit with 64 bit cygwin for compiling You can install both 32 and 64-bit Cygwin on the same machine. So you don't really need 4, while I see how having a build system separate is a good idea. >> > This is what I first did: >> > Transfered the 32 bit cygwin with my self compiled binaries >> >> You have to install Cygwin, not "transfer". > I have several 100 users, none of them is able to install cygwin *You* have to do it. Cygwin offers tools to automate process. > and the packages they need the official way, they are way to *CENSORED* for > this job :-} > I give them my preconfigured cygwin.zip (or cygwin64.zip) and tell them to > unpack it in C:\ > http://fex.belwue.de/usecases/cygwin.html > (This is what I call "transfer cygwin") > This works so far without problems. Only by accident and promise. -- With best regards, Andrey Repin Monday, July 9, 2018 5:16:37 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