public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Warren Young <warren@etr-usa.com>
To: Cygwin-L <cygwin@cygwin.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 ...)
Date: Thu, 01 Aug 2013 00:28:00 -0000	[thread overview]
Message-ID: <51F9ABA0.3090205@etr-usa.com> (raw)
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

  parent reply	other threads:[~2013-08-01  0:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27  3:32 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 Kenneth Wolcott
2013-07-27  5:20 ` marco atzeri
2013-07-27  5:24   ` Kenneth Wolcott
2013-07-27  6:20     ` LRN
2013-07-27  7:26       ` Andrey Repin
2013-07-27 10:30         ` LRN
2013-07-27  6:29     ` marco atzeri
2013-07-27  7:57       ` Warren Young
     [not found]         ` <51F9A3BE.4020907@tlinx.org>
2013-08-01  0:28           ` Warren Young [this message]
2013-08-03 11:33             ` having 1 set of non-bin files w/separate {bin,lib}[32/64)? (was Re: please update the supported Cygwin package list ...) Linda Walsh
2013-08-03 15:48               ` Earnie Boyd
2013-08-04  2:19                 ` Linda Walsh
2013-08-04  3:54                   ` Earnie Boyd
2013-08-04  4:56                     ` Linda Walsh
2013-07-27  5:28 ` 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 Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F9ABA0.3090205@etr-usa.com \
    --to=warren@etr-usa.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).