www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SARE_OBFU_PART_INA,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A6ED9D1.8020205@gmail.com> |
Date: | Tue, 28 Jul 2009 11:58:25 +0100 |
From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: How to install-libLTLIBRARIES dll to bin? |
References: | <6910a60907272310q54f29289l454117aff82afd5a AT mail DOT gmail DOT com> <4A6EAB22 DOT 7080200 AT lysator DOT liu DOT se> |
In-Reply-To: | <4A6EAB22.7080200@lysator.liu.se> |
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 |
Peter Rosin wrote: > Automake does not "know" that it is a dll, it only sees a libtool > library (.la), and I think "libtool --mode=install" is supposed to > outsmart $libdir, by adding ../bin to the end of the directory > part of the path (i.e. copy the dll to $DESTDIR)$(libdir)/../bin > in this case). Yes, absolutely. Grep for 'tdlname' in the libtool script. > > I.e. if the dll does not end up in $libdir/../bin you need to find > out why, perhaps because the dll was linked with > "libtool ... -module ..." (in which case the outsmarting code > isn't activated and ../bin isn't added). The problem is that $libdir/../bin is very often not the same at all as $bindir. For example in GCC, libdir is $prefix/lib/gcc-lib/i686-pc-cygwin/4.3.2, and the DLLs all get installed into $prefix/lib/gcc-lib/i686-pc-cygwin/bin, which is not useful. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |