This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ldconfig???




> -----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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]