[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dll installation logic
From: |
Gary V . Vaughan |
Subject: |
Re: dll installation logic |
Date: |
Fri, 8 Jun 2001 18:39:02 +0100 |
Since we are trying to make things work like UNIX here, I think that the dlls
should probably be installed to $libdir. The problem that needs solving is
how to teach the executable to find its dlls.
Unfortunately this probably comes dow to wrapper scripts, which is ugly too
=(O|
Bah!
Gary.
On Wednesday 06 June 2001 8:14 am, Robert Collins wrote:
> The current cygwin shared library installation logic seems to be
>
> "install path"../bin
>
> This fails for things like l3 in depdemo where the install dir is
>
> extradir = $(libdir)/extra
> extra_LTLIBRARIES = libl3.la
>
> I'm not sure what we should use as install logic... maybe walk up the
> install path until we reach a 'lib' dir and then apply the ../bin rule.
> The problem being that libtool linked .exe's won't find the needed .dll
> unless the directory is in the dll search path. Add to this that the
> first found .dll is always used.. and installing every dll into either
> /usr/bin or /usr/local/bin almost makes sense.
>
> Thoughts?
> (This is the failure reason for depdemo-exec when depdemo has been built
> with shared librarys).
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/