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=ya9Z
	ECXAxpwhFf8023wF1ztpK6exqcw3LFiahPQs+ATle8joalg0/kNDfqOjh3b5nEVz
	qVFkMis8R8MLCgcNytN5rHqvc+XqqmV5Fh0OVGoW+cCW+HcmckCBJ+zswOOkOETU
	ECstX8rQhwkqtIP8QZB02WjWP7BA4uQ4ClkYSSg=
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=+2zyGE+/8c
	aa4xOl1IOq216qaTs=; b=GIpj9Noste5Dv/9qmFGvUtFqYd5zKs2xF3vF125E3B
	4cUiQR5twJWPZyh9ueWDw7xDv4diK4Hwf4U4TayYuffpTtvK77X5/YKKt1d9XLuj
	9CXAEEvpSfmofBXC+kLZBCWqrFsZO774MXhHEsIY3sbitMZxHefstT/XgjYZWyOn
	c=
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-Virus-Found: No
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=mot, Tel, tel
X-HELO: smtp02.belwue.de
Date: Fri, 8 Jun 2018 15:52:21 +0200
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: running self compiled 32 bit binary on 64 bit Windows?
Message-ID: <20180608135221.GF20898@rus.uni-stuttgart.de>
Mail-Followup-To: "cygwin@cygwin.com" <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>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A17787FD684@IRSMSX102.ger.corp.intel.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

On Fri 2018-06-08 (13:43), Soegtrop, Michael wrote:

> are you sure you want a cygwin build? I thought you are doing a MinGW
> build (since Cygwin1.ddl was missing from ldd).

What is MinGW?


> 1.) Do a MinGW cross compile in case you don't need any Cygwin
> infrastructure (bash, ...) or fully posix compliant C environment

I need bash and posix environment!


> 2.) Do a Cygwin build and copy cygwin1.dll

I already have a /usr/bin/cygwin1.dll on the Windows 8 target system.
Do I have to replace it?


> 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 to the 64 bit
Windows 8. But then I was not able to use perl, I got a MOT of these errors:

         0 [main] perl 4232 child_info_fork::abort: address space needed
   by 'Encode.dll' (0x370000) is already occupied
   Can't fork, trying again in 5 seconds at /client/bin/fexsend line 106.
         1 [main] perl 7720 child_info_fork::abort: address space needed
   by 'Encode.dll' (0x370000) is already occupied
   Can't fork, trying again in 5 seconds at /client/bin/fexsend line 106.
         1 [main] perl 5484 child_info_fork::abort: address space needed
   by 'Encode.dll' (0x370000) is already occupied
   Can't fork, trying again in 5 seconds at /client/bin/fexsend line 106.

See my mail:

From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: cygwin@cygwin.com
Subject: Perl child_info_fork runtime error
Date: Wed, 30 May 2018 12:57:09 +0200

These error are gone after I replaced the 32 bit cygwin with a 64 bit
cygwin installation.


-- 
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:<0F7D3B1B3C4B894D824F5B822E3E5A17787FD684@IRSMSX102.ger.corp.intel.com>

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

