delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/04/04:30:07

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=RFOaepr+ktX8Ks2UHm0AxU6/OGPsWlWNN5ctcVnjw+mLvRnwwR/aw
G8yvq3gYparJKLe59ie2sXeJK6sA5HwbbxKhjHydJ1G/Q6xFcdBL4+4a2d2rFaPq
0HZd0tm9UFvs6S39kmBVRzH/dx26RZlnicZfm9+MYZbieXzcA6YpAQ=
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:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=sFa6Fs/hhokvYwxpab0XqRStSQM=; b=nfRy1Gnpb4zKLrrFW2r/Vw5QdVJW
jn+epAy4phH5oLk8CDndhpZ5OI/B2/Qj4rgH1WbNVqZks6hPGaxz123O2nCkW4+Q
mlf9/LQFdnEnMiSwtUD6n5VrUDbWBpGg0lJ6pbJfOkGn1A1vUoGd7WJw9Y3CrDUP
fFk+32+LcIxNHsQ=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 4 Nov 2014 10:29:48 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: terminfo and /usr/share/terminfo requirement
Message-ID: <20141104092948.GK28636@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CABa6CEnJ_mLxq3Z6ZhPSU--NO2XRYR0CHuC=mRz4OYawiWLyCQ AT mail DOT gmail DOT com> <0o355a5qcje49cevq02fb581uahr2jb38r AT 4ax DOT com> <CABa6CEktvx6s1s-JgKr35+=zC9fJz19Fd2e4DGnwH0ok9Mfd_w AT mail DOT gmail DOT com> <20141031211001 DOT GD14051 AT calimero DOT vinschen DOT de> <CABa6CEmNeiofyXK0YmtVxkePhNYdwrNYRPO0s3WJLjb6TZuQYw AT mail DOT gmail DOT com> <54580070 DOT 70908 AT cygwin DOT com> <CABa6CEn6JUskAMzoZQQe3Ci0rH8OrPQoiTntyZ_d3yfw4HvZXQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CABa6CEn6JUskAMzoZQQe3Ci0rH8OrPQoiTntyZ_d3yfw4HvZXQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--KjX7LgAomYr70Ka9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov  3 17:34, cyg Simple wrote:
> On Mon, Nov 3, 2014 at 5:23 PM, Yaakov Selkowitz <yselkowitz AT cygwin DOT com> =
wrote:
> > On 2014-11-03 16:14, cyg Simple wrote:
> >>
> >> It is true that I am not using setup-${arch}.exe but that shouldn't
> >> matter as long as I have the dependencies resolved.
> >
> >
> > Yes, it does matter; Cygwin setup is the only supported method of creat=
ing
> > and managing a Cygwin installation.  Please try again from scratch with
> > Cygwin setup and you will see that there is absolutely no need for a
> > /usr/share =3D> /share mount.
>=20
> Are you saying setup or some post install file doesn't mount
> /usr/share?

It's not necessary.  Setup-${arch}.exe creates the default directory
layout.

> If a mounted /usr/share isn't important then why is
> /usr/bin and /usr/lib automounted?

Two reasons:

- Windows.

  DLLs are found in the directory of the application even if $PATH
  doesn't point to the directory containing the DLL.  cygwin1.dll and
  all other cygwin DLLs are in the same path as the essential binaries
  so that you can start them from Windows even if $PATH is not set to
  contain Cygwin's /bin.  If we had separate /bin and /usr/bin dirs, we
  would have the essential binaries spread over two directories, but the
  cygwin DLLs in only one of them, or worse, spread over two dirs as
  well.  Hilarity ensues.

- GCC.

  GCC generates the path to certain files under the lib dir relative to
  the path it has been started from.  So, if you run /bin/gcc, it searches
  for the files under /lib, if you start /usr/bin/gcc it searches under
  /usr/lib.  Since you can do both, you have to handle lib just as bin.

There was never a need to do that for any other directory, that's why
we don't have /sbin <=3D> /usr/sbin as Fedora.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--KjX7LgAomYr70Ka9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUWJyMAAoJEPU2Bp2uRE+g48UQAIpFyWFP8yBCqoWMWZf+1ZrB
3t8xS3nr6QOcyaPGIahFcARf3WZAPBeTqQ8a7xSi1kUSxAoZiqyFQD8krTDSH573
6MNsB/V8nl54W4UFrGp0R0K41y/LDu5G+9BtxoyaGypwXu9tNxm6/RCoaGRiuzgW
BkSj1tjD9fPYyOUZbpNfuVRgAFSCWzffwmlPJmFHYeeQAH4fWO/8+ixoewQgvbIS
Aa81m+gU0nFjBVYrnzPxR30DtE8HY8QDhbmytZ9zk7x1EzygNUGsbLqBBhiXnldI
RE8HIVQgR3VWqUqtZVjvjxgiNBouCEwuxNmLIV6yawjLHwRvoiuOQps8Mrb69my0
5crnyl98vn5hnXn4TcwCLCEGc7cJojLiibK8iLmjRRUjHQ5T/LT5oHi6svIJ2C3p
5ISTE1AbjBv8HTmP6BBcCePBhSwPhGwbix76tBaJUELuGY/nGxZQVuA/zGHHS5KI
JWVHKGtiC7VquNmDRwT1QHdE0BJFdOQCv2/VFADzA68TxzUl02f9pIq58++V+S0/
P5s5MjeHf9d64YvAeq99NJR3e88WYPrB6REDoi4Z068zRxhFBSxbC5eJXLzo/9l3
/P2p8hr0iehGYeoB5hNgQ+38L8tol3dYvkOM5UhJiM0K8+jJuokTA75I7uGVwtQ2
F/KU3F1dgf7OwcU4nsrX
=0Mii
-----END PGP SIGNATURE-----

--KjX7LgAomYr70Ka9--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019