delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/26/08:39:34

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=gqhcC6IGA0Qga5p3ebZ3hIpeCMwPr
zNbxl6COcKTQuJDc0YSxmMO+mLTryNvfx+niWT4mz3RM/qPtDta4YvnI+ghpTgRP
pnNECfCv8X/+gzXU/W2LgyAoLJT+DRE8AyOLDok1KMQRg0MeqrX84q6SBaVWrmSY
wR1NyLRrqd+J20=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=xm33Uazj2zRy2GncSxP5XVMqjMQ=; b=DhM
m/hddaHqrhwPVMxVC2dKiDVRonGZ+rkPH4taeDrwJIZxg6kkteyEx2nTxNQt2ojm
w06rPrrGDrORqtoZEG8sujOrJA3zDh6AI5n/Py5pb/i2i9E8B2qqurjjTtrRv/fY
sE8T7Olf6rMXoDOWkNZWiZk3Ut9wffkN+sfegzik=
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.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: USA7109MR004.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: developing 32-bit and 64-bit in a shared environment
Date: Thu, 26 Jun 2014 12:39:12 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702E7D8280@USA7109MB022.na.xerox.net>
References: <87oaxgrh49 DOT fsf AT Rainer DOT invalid>
In-Reply-To: <87oaxgrh49.fsf@Rainer.invalid>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s5QCdUFG010701

-----Original Message-----
From: Achim Gratz

Nellis, Kenneth writes:
> Now, I want to share my Cygwin $HOME directory between the two 
> environments.  I already keep my binaries in $HOME/bin/$(arch) and 
> $HOME/lib/$(arch), so they are covered. And, of course /usr/bin has to 
> continue to point to the separate Cygwin environments.

Make a user mount table in /etc/fstab.d/<user> and populate it with the appropriate mount points (most of those will be bind mounts).  In addition, I like to keep the other Cygwin installation accessible via the system /etc/fstab as /mnt/cygwin32 and /mnt/cygwin64 respectively, if you want to be able to install directly into these from the other Cygwin you also need to re-create the ...usr/bin and ..usr/lib mount points there.  Anything I've had in /usr/src has been moved to /mnt/share as well.  That actually works a bit too well, so I've resorted to giving the shell windows different colors so I can remember which Cygwin I'm working with.

-----Reply-----
Thanx! I've changed my $PS1 prompts to keep straight which Cygwin I'm using based on $(arch).
What'd be really cool is if separate Cygwin[-Terminal].ico icons would distinguish which bit-version 
I'm using. Yeah, I know, PTC. :-)
-Ken Nellis

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