delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/27/02:29:54

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ykv6e+9pCSh1LJVWrF3zq3CmU6xHohuZiIEAz/3jrot
/y+D5QXXzXezFowCOkr/tBmVD5Up4TIowWRAvj/04sO32aJ+oDmcCME6XxdcNHN2
+VLfZkAKtrdteNEWew1cn4ZsIqcQIOsjLHYkBTjlrvRk15RMT6AdWI85aOVtqLgI
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=zQYZbVCl4u4llb16BGKvofHGJ7Q=; b=awefkKH0bbk07j8X2
ihNIybxG5LoFh06HFwoPbTIGi9piqBRQfYE88x6MNimr6gSvgLeiZ8piR4P2aLzI
ezS8nq3L3ISnGGxNC9eI1dtaxXX696XmMS8PdN4PM5tGmPvmS2l6RLYlYcN83sgi
PWg1nmhnUI1Je6N6y4sKIYrmb0=
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
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RDNS_NONE autolearn=no version=3.3.1
Message-ID: <51F368C4.5030309@etr-usa.com>
Date: Sat, 27 Jul 2013 00:29:24 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
References: <CADex0xxLK3LRfHcat8UYXDUoYxRu5OPzV0_+FXMKd7k_J4G+Vg AT mail DOT gmail DOT com> <51F34FA0 DOT 50300 AT gmail DOT com> <CADex0xwDTvHaOS-_xAr3pARiBQ19zAdOS8US06r+E14b65SC-w AT mail DOT gmail DOT com> <51F35E4A DOT 4040207 AT gmail DOT com>
In-Reply-To: <51F35E4A.4040207@gmail.com>

On 7/26/2013 23:44, marco atzeri wrote:
> Il 7/27/2013 7:17 AM, Kenneth Wolcott ha scritto:
>>
>>    I guess I will somehow modify my PATH so that I have
>> /cygdrive/c/cygwin64/usr/bin and /cygdrive/c/cygwin32/usr/bin
>
> mixing will not work as the dll's are called in the same way

Just to emphasize: if both 32- and 64-bit Cygwin bin dirs are in your 
PATH at the same time, you will get complaints in the terminal window 
every time you try to run a 32-bit Cygwin program while in a 64-bit 
mintty shell, or vice versa.

The most likely reason this will happen is that the package set in both 
Cygwins isn't the same.

This could be fixed, but it wouldn't be trivial:

1. Rename the 64-bit cygwin1.dll; say, cygwin2.dll.  (It's not that wild 
an idea.  The ABI *is* different between 32- and 64-bit versions.)

2. Teach setup.exe how to install packages of both bitnesses at the same 
time.  You'd end up with something like many Linuxes: /bin and /bin64, 
/lib and /lib64.

3. Teach cygport how to build and configure both bitnesses at the same 
time.  This is nontrivial in itself.

Having done all that, you still don't end up with a completely 
integrated pair of Cygwins, since they aren't going to have any shared 
in-memory data structures.  (Separate cygheaps.)  You couldn't pass a 
file handle from a 32-bit Cygwin program to a 64-bit Cygwin program, for 
example.

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