From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.user Subject: Re: guile-2.0 on mingw: the sequel Date: Mon, 26 Aug 2013 16:10:09 +0300 Message-ID: <8361usha32.fsf@gnu.org> References: <20130825232417.TCPTK.135132.root@cdptpa-web34-z02> <837gf9gogq.fsf@gnu.org> <87sixx6lmk.fsf@tines.lan> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377522621 9601 80.91.229.3 (26 Aug 2013 13:10:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2013 13:10:21 +0000 (UTC) Cc: guile-user@gnu.org To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Aug 26 15:10:23 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VDwYo-0001FU-2S for guile-user@m.gmane.org; Mon, 26 Aug 2013 15:10:22 +0200 Original-Received: from localhost ([::1]:51371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDwYn-0007CF-HL for guile-user@m.gmane.org; Mon, 26 Aug 2013 09:10:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDwYY-00078u-B3 for guile-user@gnu.org; Mon, 26 Aug 2013 09:10:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDwYS-0003bo-By for guile-user@gnu.org; Mon, 26 Aug 2013 09:10:06 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDwYS-0003bI-3f for guile-user@gnu.org; Mon, 26 Aug 2013 09:10:00 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MS5006002YZQA00@a-mtaout22.012.net.il> for guile-user@gnu.org; Mon, 26 Aug 2013 16:09:58 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MS5006T138LDI70@a-mtaout22.012.net.il>; Mon, 26 Aug 2013 16:09:58 +0300 (IDT) In-reply-to: <87sixx6lmk.fsf@tines.lan> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10718 Archived-At: > From: Mark H Weaver > Cc: dsmich@roadrunner.com, guile-user@gnu.org > Date: Mon, 26 Aug 2013 01:56:19 -0400 > > Okay, again: How exactly do you suggest we determine the location of the > libguile installation from an arbitrary executable that links to it? Like this: Step 1: provide an API for the executable to tell that; failing that Step 2: look in ../share relative to the executable's argv[0]; finally Step 3: fall back on the default recorded at build time Step 2 will have a Windows wrinkle, whereby we can look in ..share relative to where Guile's shared library lives.