www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/31/20:28:45

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=a9RSFKY11BMP8WGI+35Lch2xxPbMBMutQCgFoPnc6zF
lIBNklyzdzsBsD6AMlEjRyAbO1nswYCOYvFRN0w0aSMJ39PUWB1Q4nlsghEfEAbX
Xmnj3GZsSUGnPTD1zenGkDcHHbISzPz7uy2wG/N6xBlLIMtPqbTMD1hHhCKNghUw
=
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=FTg0IN/+RC31tlqmKstKrlynINs=; b=cOtngZTCuWw9RSNZE
U8djTqyPUozgiv5J3LdCtzY1kkf/k3xNMszB+gtvnJVamyh9BYivNsR0/Hald+J9
jGM4ZO9HBi+A5AzO5FhvgNaQaT5OX97fhHbYMtcwNf9zFD2sjyAgIzE7JTmGHNj5
RJqXqLfkw06bTQDZHeLka08O+g=
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=-1.5 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RDNS_NONE autolearn=no version=3.3.1
Message-ID: <51F9ABA0.3090205@etr-usa.com>
Date: Wed, 31 Jul 2013 18:28:16 -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: having 1 set of non-bin files w/separate {bin,lib}[32/64)? (was Re: please update the supported Cygwin package list ...)
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> <51F368C4 DOT 5030309 AT etr-usa DOT com> <51F9A3BE DOT 4020907 AT tlinx DOT org>
In-Reply-To: <51F9A3BE.4020907@tlinx.org>

On 7/31/2013 17:54, Linda Walsh wrote:
> Warren Young wrote:
>>
>> 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
> ------
>      Ok, but would it be desirable (or wouldn't it be)
> to have only 1 /etc, /var, /home? dir,

Sure.  But what's stopping you from doing that today?  Symlinks work 
just fine across the /cygdrive boundary separating your Cygwins.

I keep very little in /home, mainly just dot files and symlinks into 
/cygdrive/c/Users/mylogin.  The actual data I keep under c:\Users.  That 
is, ~mylogin/Documents is a symlink to My Documents, etc.  Similar for 
Pictures, Downloads, AppData, ...

I have a bunch of scripts I've written in ~/bin, but those get checked 
into a local Subversion repository, so I can keep those updated across 
Cygwins easily enough.  Ditto with compiled programs I've written: just 
check out and rebuild on the other Cygwin when they change.

> then maybe in your bashrc have
> it do a cygmount or create a softlinke from /bin32 -> /bin or /bin64->/bin
> (and same for lib)?

You can't just merge the two bin/lib dirs.  The executable names 
conflict.  My solution involving a "cygwin2.dll" is the only solution I 
see.  And again, it's packed with potential pain.

>      I don't think it will turn out well to try to have people
> maintain 2 sets of configuration files...

People have been inventing new ways to keep /etc synchronized for 
decades.  Most relevant to Cygwin today are symlinks, etckeeper, 
Puppet/Chef/Cfengine, YourFavoriteVCS...

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