Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
content-class: urn:content-classes:message
Subject: RE: ldconfig???
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Date: Fri, 15 Mar 2002 11:48:49 +1100
Message-ID: <FC169E059D1A0442A04C40F86D9BA760014BBF@itdomain003.itdomain.net.au>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ldconfig???
Thread-Index: AcHLunMJBx1WrtPWT8ehRDCHtanxewAAC6tg
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Charles Wilson" <cwilson@ece.gatech.edu>,
   "Chris Tooley" <ctooley@amoa.org>
Cc: <cygwin@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g2F0nHt21417



> -----Original Message-----
> From: Charles Wilson [mailto:cwilson@ece.gatech.edu] 
> Sent: Friday, March 15, 2002 11:40 AM
> To: Chris Tooley
> Cc: cygwin@cygwin.com
> Subject: Re: ldconfig???
> 
> 
> Chris Tooley wrote:
> 
> > I'm having something complain that it can't find ldconfig.  Is this 
> > something that needs to be installed, and if so are there 
> any pointers 
> > as to where to get it, or do I have porting work ahead of me?
> 
> 
> your "something" shouldn't be looking for ldconfig on cygwin. 
>  It isn't 
> used.  ldconfig is used to setup shared libraries (creating the 
> appropriate runtime links, etc) for use by the system.  On windows, 
> setting up a DLL consists of "put the DLL in your PATH".  Period.
> 
> So, no ldconfig.  It's possible that we might want to include a dummy 
> ldconfig (#!/bin/sh  exit 0)  but that might cause more 
> confusion that 
> the current situation.

What about an ldconfig that cehcks the path to the .dll against $PATH,
and updates [autoexec.bat|HKCU/Environment/Path|HKLM... & the current
shell PATH] if it's absent ?

Could be a good little project for someone.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

