delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/19/16:33:09

From: crd AT inversenet DOT com (Craig Dickson)
Subject: Re: Proper location of the cygwin.dll WAS: Re: b19 and cygwin.dll
19 Feb 1998 16:33:09 -0800 :
Message-ID: <00ac01bd3d5d$691245e0$168cdad0.cygnus.gnu-win32@crd.inversenet.com>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

Magosanyi Arpad wrote:

>Well, a shared library is a shared library. Its distinguishing features
from
>an executable binary are the following:
>- You cannot execute it
>- More executable binaries, possibly in different locations use it. Hence
>the name "shared".

Yes, but cygwin.dll is specifically a component of the cygwin package, which
needs to be installed before most Unix install/config scripts will run, so
it seems reasonable to keep the dll with the base set of executables, given
the way the Windows platform locates dlls.

>> Is it customary to add the /lib and /usr/lib paths to the PATH
>> environment variable?  I don't think so.

>
>It is also not customary to look for shared libraries
>in the PATH.

It is on Microsoft OSs, which are, after all cygwin's host platform. So one
question here is where to strike the proper balance between conforming to
the host system's conventions and emulating Unix. I don't see any reason to
devise a custom way of locating cygwin.dll when the OS will do it for free
if it is on the PATH (which the cygwin executables need to be on anyway).

>I meant the need of conforming to FSSTND rather seriously. I think you
>overlooked that part, which is a pity because this is the point we should
>argue about. The location of shared libraries is a logical consequence of
>the outcome of that issue. I propose to talk this over first.

Excuse me, but I'm not all that familiar with POSIX; my Unix experience is
mostly as a user, and as a writer of fairly simple C programs and perl/sh
scripts, not as a sysadmin or serious developer. What is FSSTND, and how do
you see it as being relevant to cygwin?

Craig


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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