X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja Subject: Make program find its dll:s Date: Tue, 18 Nov 2008 12:10:02 +0100 Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello, I have a few programs that I've compiled using the gcc compiler supplied as part of the cygwin "distribution". These programs depend on a few, fairly large DLL files. I'm now wondering if it's possible to tell a process launched from within a cygwin bash shell to "look in this directory as well for DLL files you might need, not just in the path". Kinda like when you use gcc and specify -I and/or -L for it to find headers and/or libraries in locations that aren't searched by default. What I want to is to keep these DLLs in one directory that is not in the path and I don't want to each program that use these DLLs to have their own set. Is this possible? I tried setting up a symbolic link with ln -s in the same directory as one of my programs but it still couldn't find the DLL. - Eric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/