delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/01/04:06:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 1 Oct 2002 10:04:47 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <31687055984.20021001100447@familiehaase.de>
To: Pierre DOT Habraken AT imag DOT fr
CC: cygwin AT cygwin DOT com
Subject: Re: Path to dynamic libraries
In-Reply-To: <3D98826F.9EBE7861@imag.fr>
References: <3D984527 DOT FD112161 AT imag DOT fr>
<70618342759 DOT 20020930145934 AT familiehaase DOT de> <3D98826F DOT 9EBE7861 AT imag DOT fr>
MIME-Version: 1.0

Pierre schrieb:

> Thanks to everyone who replied to my question.

> The actual problem I am faced to is that I compiled (and tested) a
> program (ddd) under Cygwin installed as H:\Cygwin and then distributed
> the binaries to students who are supposed to install it on their own
> box.

> The problem is that the program does not operate as expected on the
> students machines, apparently because most of them installed Cygwin as
> C:\Cygwin and the program does not find some dll's.

> So I am looking for a way to easily "translate" library path's from a
> given "compile machine" to "target machines".

> Any idea someone ?

As stated before, the DLL's on which your application depends need to be
in a directory that is included in the PATH setting.  If invoked from a
Cygwin/bash shell session then it is the Cygwin PATH, else the Windows
PATH setting.

I have c:\cygwin\bin included in my Windows PATH setting so I am able to
invoke Cygwin applications from a CMD shell window without launching
bash.


Gerrit
-- 
=^..^=


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

- Raw text -


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