delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=Y96LfX7JYyck+w1n | |
mAK/oERovQaCa2DzKoZmcOyNZVOhWpkB+4ElwFURhDLjYnaCGbwIg+Ayx0MwxEX5 | |
Fydo386AGHzI7NM4Wp5qy4iZTHuNAz2Sa7YNnqiowgRiWtqdEtTcm651WeRot1VH | |
eaETXg9fo3sac40fpVGr2PnGWz8= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=OFZbo2HNJkvKHufSlSQjVh | |
kQBPw=; b=cHQd4ziOyN9a1KGg2m9XoX2iW0ILh2TbGB79KKcPyJv+GKt8gmFTQU | |
2zGZYawadfjIMu8pEVl/TmR5r9qz9vJKd1EjN/fvkxnFyXEe28x0gxPbv1QEZPLI | |
8qBdeKsfDaGPCEqYBwuRW6TswpMjCCysdqxKoHzkjTxUz6eyyBWSo= | |
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 |
X-Spam-SWARE-Status: | No, score=2.0 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1 |
Message-id: | <519D8889.5070206@cygwin.com> |
Date: | Wed, 22 May 2013 23:10:01 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Including full path to shared library in the executable file |
References: | <CALgEz7rPZLJmg6nBacALfvdhkRUT5st+hMEciSuQd9y46xRuYQ AT mail DOT gmail DOT com> <CALgEz7qWEicXk5SQAbYuoiK-7PEeq-HRAJ59Gwt=kVzjKL9RTw AT mail DOT gmail DOT com> <CALgEz7p9EUX5XevA6mGk9c6JN_x0u0Jb1Cswi9-J20TDKvey=Q AT mail DOT gmail DOT com> <20130522084711 DOT GU2406 AT calimero DOT vinschen DOT de> <20130522145813 DOT GC8150 AT ednor DOT casa DOT cgf DOT cx> <20130522152450 DOT GA22259 AT calimero DOT vinschen DOT de> |
In-reply-to: | <20130522152450.GA22259@calimero.vinschen.de> |
On 5/22/2013 11:24 AM, Corinna Vinschen wrote: > On May 22 10:58, Christopher Faylor wrote: >> On Wed, May 22, 2013 at 10:47:11AM +0200, Corinna Vinschen wrote: >>> On May 21 21:43, Balaji Venkataraman wrote: >>>> On Tue, May 21, 2013 at 9:19 PM, Balaji Venkataraman wrote: >>>> >>>>> My question is whether there is a way to include the full path to the .dll >>>>> while creating the .exe - much like how cmake "link_directories" or >>>>> "target_link_libraries" allows you to - for e.g. on Linux (an ldd on the >>>>> executable file shows the full path to the .so file and thus >>>>> precludes the need to explicitly set LD_LIBRARY_PATH). While this is not a >>>>> cmake question (or a cmake mailing list) if you have experience solving >>>>> this problem using cmake, would appreciate those insights as well. >>>> >>>> I found this while looking for cygwin RPATH: >>>> http://www.cmake.org/pipermail/cmake/2007-October/017267.html. Perhaps >>>> the lack of RPATH support on Windows/Cygwin is the reason? >>> >>> RPATH is an ELF feature. Full paths to DLLs are not supported by the >>> PE/COFF executable format. Also, Cygwin DLLs are still loaded by the >>> Windows loader, so POSIX paths won't work, and full Windows paths won't >>> make much sense, given that Cygwin is not always installed into >>> C:\cygwin. >>> >>> The solution for this would be an ELF loader in Cygwin and a Cygwin >>> linker which produces ELF DLLs by default. But that's quite a big >>> project on its own and nobody seemed to have fun, time, or money, to >>> implement this. >> >> So, maybe *next* Thursday then? > > Alas, I still have no cat... Can someone *please* donate a cat for Corinna? -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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 |