delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/18/06:11:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT com>
Subject: Make program find its dll:s
Date: Tue, 18 Nov 2008 12:10:02 +0100
Lines: 14
Message-ID: <gfu7qd$v3$1@ger.gmane.org>
Mime-Version: 1.0
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


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