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:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=mdnV
	07JlB/FUaE0z1DrM0rQOS+GbB3D+ih7LwaRFlg98eGvuLert701eIWHvu4NpqCLT
	kmuLQTtW1NhJW/dZ+oZ5YM6lYtS7rl8vvQkSI4RaA8ds7xy68DG7BVqA5S1Lgt7X
	TX/pn8GgvThliPZaT+fMauO/zpvYk/3GeKvBHWQ=
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:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=ebCxL5bJgY
	BZAktOhyn0hQdsJgI=; b=akJTRp1V6LbhNnhOVfAYk6iC0ANMUaAfuLnlYVz7z7
	trIcZqwjGzwo8jvN7wV5MqfOJaOFPsXinsZeA6LBywTQC9XSN9oybb92QkebHxWa
	VBMyQN06lFTIkkKETj132ic3shuDqUqakVYLeAfmKgnVraUV2An0QLw4iecUUZTN
	U=
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-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=D*ru, transfered, 32bit, UD:zip
X-HELO: smtp02.belwue.de
Date: Mon, 9 Jul 2018 02:21:31 +0200
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: cygwin@cygwin.com
Subject: Re: running self compiled 32 bit binary on 64 bit Windows?
Message-ID: <20180709002131.GA3525@rus.uni-stuttgart.de>
Mail-Followup-To: cygwin@cygwin.com
References: <20180606115005.GA15015@rus.uni-stuttgart.de> <0F7D3B1B3C4B894D824F5B822E3E5A17787FB4BB@IRSMSX102.ger.corp.intel.com> <3110356010.20180606204945@yandex.ru> <540c62ab-2519-9f57-6565-d536d8b74ef2@gmail.com> <944481618.20180607010455@yandex.ru> <20180608133017.GB20898@rus.uni-stuttgart.de> <0F7D3B1B3C4B894D824F5B822E3E5A17787FD684@IRSMSX102.ger.corp.intel.com> <20180608135221.GF20898@rus.uni-stuttgart.de> <49498971.20180608194124@yandex.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <49498971.20180608194124@yandex.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

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


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


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<49498971.20180608194124@yandex.ru>

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

