ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/18/10:42:37

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AB4D767.FD0BC764@yahoo.com>
Date: Sun, 18 Mar 2001 10:42:31 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <mingw-users AT lists DOT sourceforge DOT net>,
cygwin-apps AT cygwin DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Kees Zeelenberg <c DOT zeelenberg AT hccnet DOT nl>
CC: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>, Tor Lillqvist <tml AT iki DOT fi>,
mingw-users AT lists DOT sourceforge DOT net,
"Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>, cygwin-apps AT cygwin DOT com
Subject: Re: [Mingw-users] HOWTO setup cygwin's 'gcc -mno-cygwin' using mingw
References: <15027 DOT 46975 DOT 145000 DOT 34493 AT gargle DOT gargle DOT HOWL> <754 DOT 010318 AT is DOT lg DOT ua> <000701c0af88$54b169a0$2d2dfb3e AT beta>

Kees Zeelenberg wrote:
> On the other hand, it _is_ common for MS-Windows packages to have the installation directories
> separated by package, and not by file type. E.g package X is installed in "\Program Files\X",
> and not the Unix way with its binaries in \Bin, its man files in \Man, and so on. There may be
> advantages to the Unix way, but there are also advantages to the Windows way: it is much easier
> to remove a package, old files that are no longer needed can easily be removed, and it is much
> easier to see which file belong together. Moreover, the use of large disk drives has led to the
> use of multiple drive letters, and so you cannot rely on it that \Bin, \Etc, \Man, \Share are
> on the same drive. And who would want to use up his environment space by setting loads of
> environment variables? Of course a group of Windows developers such as Mingw could decide to do
> it the Unix way, but I don't think it would be a wise decision, if only because the group is
> relatively small.

Since Chuck is asking about Cygwin and where to put MinGW built
libraries, I'm including the cygwin-apps list on this discussion.  They
may be MinGW built but it's Cygwin that is the main topic of discussion.

If any library that is downloaded from the Cygwin official site also has
MinGW libraries then those libraries should go into /usr/lib/mingw/. 
Libraries not on the official site that also include MinGW libraries
should go into the /usr/local/lib/mingw/ directory.  GCC-2.95.2-9 has
been renovated to fit this model.

Now, if the library package also contains binaries, such as the gettext
library package; IMO, the MinGW binaries should *not* be distributed in
the Cygwin package unless you distribute a different package for the
MinGW specific libraries.  If that is the case, the current MinGW
standard is to --prefix=/mingw when configuring the package.  I package
the tarball at the bottom most level so that it contains only the base
level directories.  However, IMO MinGW specific packages should not be
distributed from the Cygwin net distribution.


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -

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