delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/08/12:50:50

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=nXC/+7jZ5mdIMr7h
imgmp9gOQZQVSeciYHVladPgSv4bi7Bnz1aOuHBUdQ5xauegIOhb+2/d9xFn6dOD
fpKGcD0tD2VEMAivfY9yYwGzLiuVjzXRItdneQ3M+J2uP2binhnSdSlmHgatxgfn
dZuJjr0K6e8HPrs5Vv7wGqzojd0=
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=Q75+dp1UO1qiePLqwbhsaB
9GIuQ=; b=nPdaSS9u0+3zIyp4GUtuIj+nRKALRd7XiGx8xvXci+3tmqHSfao6Bh
wmV8tfJ9WSDwOGXbRWLHmYfHnQLqsNSPcgk/SraRQR+gWI90b+tcbeVxCWR8RHNF
K5RwcHbhNa91le9DpreBes9I94rSrUAmdzHxMfKJo7XouZJgMTOv0=
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-Virus-Found: No
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=UD:ru, HX-Priority:Normal, H*F:D*yandex.ru, H*R:D*cygwin.com
X-HELO: forward101o.mail.yandex.net
Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 8 Jun 2018 19:41:24 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <49498971.20180608194124@yandex.ru>
To: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>, cygwin AT cygwin DOT com
Subject: Re: running self compiled 32 bit binary on 64 bit Windows?
In-Reply-To: <20180608135221.GF20898@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>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Ulli Horlacher!

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

>> 3.) Do a Cygwin build and install a matching cygwin on the destination
>> machine in case you need not just a posix compliant C environment, but
>> also a bash or other Unix tools

> This is what I first did:
> Transfered the 32 bit cygwin with my self compiled binaries

You have to install Cygwin, not "transfer".


-- 
With best regards,
Andrey Repin
Friday, June 8, 2018 19:40:10

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

- Raw text -


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