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: Sun, 25 Aug 2013 23:40:28 +0300 Message-ID: <83bo4lh5c3.fsf@gnu.org> References: <83vc2wj4hz.fsf@gnu.org> <877gfccueo.fsf@tines.lan> <83d2p4ifow.fsf@gnu.org> <874nada6t1.fsf@tines.lan> <87zjs58ry2.fsf@tines.lan> <83eh9hh5n4.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377463278 18775 80.91.229.3 (25 Aug 2013 20:41:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Aug 2013 20:41:18 +0000 (UTC) Cc: guile-user@gnu.org To: mhw@netris.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 25 22:41:19 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 1VDh7e-0001mf-Cs for guile-user@m.gmane.org; Sun, 25 Aug 2013 22:41:18 +0200 Original-Received: from localhost ([::1]:47548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDh7d-0006tP-Tm for guile-user@m.gmane.org; Sun, 25 Aug 2013 16:41:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDh7R-0006tI-4g for guile-user@gnu.org; Sun, 25 Aug 2013 16:41:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDh7L-0004em-RH for guile-user@gnu.org; Sun, 25 Aug 2013 16:41:05 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:45516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDh7L-0004ea-JR for guile-user@gnu.org; Sun, 25 Aug 2013 16:40:59 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MS300500T8EFZ00@a-mtaout20.012.net.il> for guile-user@gnu.org; Sun, 25 Aug 2013 23:40:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MS3005GWTF6AX50@a-mtaout20.012.net.il>; Sun, 25 Aug 2013 23:40:18 +0300 (IDT) In-reply-to: <83eh9hh5n4.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:10705 Archived-At: > Date: Sun, 25 Aug 2013 23:33:51 +0300 > From: Eli Zaretskii > Cc: guile-user@gnu.org > > > From: Mark H Weaver > > Cc: godek.maciek@gmail.com, guile-user@gnu.org > > Date: Sun, 25 Aug 2013 15:56:53 -0400 > > > > Remember that Guile is a library, not just an executable. So argv[0] > > could point to any arbitrary executable that's linked with libguile. > > We can provide an API for passing to the library the root of its > installation. And btw, how is this different from GCC looking for its libgcc or GDB looking for its Python scripts? An executable linked with libguile will either be in /usr/bin or somesuch, i.e. close to /usr/lib where libguile lives; or it will be in some random place under the user's home directory, in which case either libguile is in the default place, or it is near the binary. The latter case is precisely the additional feature where looking for the library nearby will be a benefit.