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 05:44:53 +0300 Message-ID: <837gf9gogq.fsf@gnu.org> References: <20130825232417.TCPTK.135132.root@cdptpa-web34-z02> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377485100 24509 80.91.229.3 (26 Aug 2013 02:45:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2013 02:45:00 +0000 (UTC) Cc: guile-user@gnu.org To: dsmich@roadrunner.com Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Aug 26 04:45:02 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 1VDmne-0004u9-5J for guile-user@m.gmane.org; Mon, 26 Aug 2013 04:45:02 +0200 Original-Received: from localhost ([::1]:48441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDmnd-0000SP-QK for guile-user@m.gmane.org; Sun, 25 Aug 2013 22:45:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDmnS-0000SG-Ca for guile-user@gnu.org; Sun, 25 Aug 2013 22:44:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDmnN-0005dA-AZ for guile-user@gnu.org; Sun, 25 Aug 2013 22:44:50 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDmnN-0005cz-2U for guile-user@gnu.org; Sun, 25 Aug 2013 22:44:45 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MS400M009YB0Q00@a-mtaout22.012.net.il> for guile-user@gnu.org; Mon, 26 Aug 2013 05:44:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MS400LJQAAJQ4A0@a-mtaout22.012.net.il>; Mon, 26 Aug 2013 05:44:43 +0300 (IDT) In-reply-to: <20130825232417.TCPTK.135132.root@cdptpa-web34-z02> 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:10714 Archived-At: > Date: Sun, 25 Aug 2013 19:24:17 -0400 > From: > Cc: guile-user@gnu.org > > On windows, I think you call GetModuleFileName() with the handle that was passed to DllMain(). > Is it possible for libguile to do that? I see no reasons why not. > Seems like most windows apps install everything into their own subtree. The main application is not even on the system PATH! That's not true. On my machine, there's a single Posix-like tree rooted at d:/usr, with everything below it. Many (most?) installers will install the shared libraries into a single system directory (e.g., C:/WINDOWS/system32), unless you override the installation defaults, something the majority of users won't do. > On a POSIXy system, there are shared places for config files, libraries, documentation, and so on. It's just different. I don't see why we would need to be "relocatable" here. One reason to be "relocatable" is to be able to easily run applications from the build or source tree, while a different version is installed on the system.