delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/29/06:20:02

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
X-Spam-Check-By: sourceware.org
Message-ID: <4A70222B.3040800@lysator.liu.se>
Date: Wed, 29 Jul 2009 12:19:23 +0200
From: Peter Rosin <peda AT lysator DOT liu DOT se>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
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> <4A6ED94B DOT 8020003 AT gmail DOT com> <4A6EE39A DOT 6040103 AT cwilson DOT fastmail DOT fm> <4A701A8C DOT 40905 AT gmail DOT com>
In-Reply-To: <4A701A8C.40905@gmail.com>
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

Den 2009-07-29 11:46 skrev Dave Korn:
> Charles Wilson wrote:
>> Dave Korn wrote:
>>
>>>   Only libtool knows about the DLL.  Only the Makefile knows about the setting
>>> of $bindir from configure.  Currently however the Makefile only passes the
>>> path to the output in $libdir.  Therefore ISTM that the only correct solution
>>> is to add a --bindir= option to libtool and modify automake or libtoolise to
>>> ensure it gets passed by the makefiles when they invoke libtool.
>> Agreed.  This is still on my TODO list for the cygwin version of
>> libtool, and (obviously) for eventual submission to upstream.  However,
>> if somebody beats me to it, PTC.
> 
>   Something like this?  Untested as yet, I'm going to put it through a gcc
> bootstrap cycle.  Should I be worried about stripping any final slash off the
> -bindir option to avoid inadvertent doubling-up when I append "/bin/...", do you
> reckon?

I don't think it's that easy, the dlname in the .la file is relative
to the position of the .la file itself. It's simply not intended to
to be an absolute path.

And you forgot the file tests/win32.at in the patch...

Cheers,
Peter

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

- Raw text -


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