From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: stack calibration Date: Tue, 31 Mar 2009 23:47:34 +0100 Message-ID: <87myb1nwc9.fsf@arudy.ossau.uklinux.net> References: <87d4bypwqv.fsf@arudy.ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1238539796 16852 80.91.229.12 (31 Mar 2009 22:49:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Mar 2009 22:49:56 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Apr 01 00:51:13 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lommb-0006Gy-3J for guile-devel@m.gmane.org; Wed, 01 Apr 2009 00:50:13 +0200 Original-Received: from localhost ([127.0.0.1]:36196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LomlD-00036O-4v for guile-devel@m.gmane.org; Tue, 31 Mar 2009 18:48:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lomk9-0002hi-La for guile-devel@gnu.org; Tue, 31 Mar 2009 18:47:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lomk5-0002ev-5P for guile-devel@gnu.org; Tue, 31 Mar 2009 18:47:41 -0400 Original-Received: from [199.232.76.173] (port=50818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lomk4-0002ep-TN for guile-devel@gnu.org; Tue, 31 Mar 2009 18:47:36 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:44563) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lomk4-0001PL-Bp for guile-devel@gnu.org; Tue, 31 Mar 2009 18:47:36 -0400 Original-Received: from arudy (host86-157-180-39.range86-157.btcentralplus.com [86.157.180.39]) by mail3.uklinux.net (Postfix) with ESMTP id 95AEE1F6A35; Tue, 31 Mar 2009 23:47:35 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id E993B38013; Tue, 31 Mar 2009 23:47:34 +0100 (BST) In-Reply-To: (Andy Wingo's message of "Mon\, 30 Mar 2009 20\:39\:45 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8371 Archived-At: Andy Wingo writes: > Hi Neil, Hi Andy, > On Mon 30 Mar 2009 13:43, Neil Jerram writes: > >> FWIW, I think this kind of incantation is really horrible. Ditto for >> usage of "guile-tools ...". What kind of a scripting language is it >> that needs to be bootstrapped by a different language? > > Dunno. While guile-tools should probably be written in Scheme, it > doesn't bother me. The strange invocation stuff is just to get around > posix's #! limitations -- it should be: > > #!/usr/bin/env guile -e .... > > but we all know the problem with that. Only one argument being portably supported? (I _think_ that's the problem, but I'm not so sure that I don't want to check that that's what you mean!) > As far as needing the -e clause, it's so we can (use-modules (scripts > compile)) in addition to being able to run it as a script. Not that I > use that feature, but it is interesting. I don't use it either, and I don't think it's interesting enough to justify the oddness of the incantation. I can't think of a scenario where it really makes sense to have a module and main program combined in the same file. If the module part isn't generally useful it doesn't need to be written as a module. If the module is generally useful, it should be given a place in the proper module tree (i.e. not scripts/...), and the script file should (use-modules ...) it. On the other hand, I took a look again at guile-tools and remembered why that _is_ useful. (Basically the same argument as "git ...", i.e. not dropping tens of executables into the system $PATH.) So I take back some of my "FWIW..." rant. :-) >> I think you may be misunderstanding. stack-limit-calibration.scm >> should make precisely 0 difference on the "canonical build platform" - >> which in practice means ia32 GNU/Linux. > > ia32 GNU/Linux is sometimes broken -- for example, build it with -O0, > and things often don't work at all. Good point. > I think I explained my perspective as well as I can in the other mail -- > perhaps we can follow that part of the discussion there? D'oh! :-) OK, let's do that. Neil