delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/08/20:21:48

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: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 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-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 AT rus DOT uni-stuttgart DOT de>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
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>
MIME-Version: 1.0
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 AT tik DOT uni-stuttgart DOT de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<49498971 DOT 20180608194124 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019