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: autocompilation support in master Date: Fri, 05 Jun 2009 23:12:16 +0100 Message-ID: <87hbyujpof.fsf@arudy.ossau.uklinux.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244239955 26237 80.91.229.12 (5 Jun 2009 22:12:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 22:12:35 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 06 00:12:31 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 1MCheG-0005sc-U6 for guile-devel@m.gmane.org; Sat, 06 Jun 2009 00:12:29 +0200 Original-Received: from localhost ([127.0.0.1]:38284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCheG-0004d4-6V for guile-devel@m.gmane.org; Fri, 05 Jun 2009 18:12:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCheB-0004bM-E8 for guile-devel@gnu.org; Fri, 05 Jun 2009 18:12:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MChe6-0004Z6-TP for guile-devel@gnu.org; Fri, 05 Jun 2009 18:12:23 -0400 Original-Received: from [199.232.76.173] (port=47892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MChe6-0004Ys-L6 for guile-devel@gnu.org; Fri, 05 Jun 2009 18:12:18 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:51208) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MChe6-0002lP-2R for guile-devel@gnu.org; Fri, 05 Jun 2009 18:12:18 -0400 Original-Received: from arudy (host86-152-99-133.range86-152.btcentralplus.com [86.152.99.133]) by mail3.uklinux.net (Postfix) with ESMTP id 453BF1F7272; Fri, 5 Jun 2009 23:12:17 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id EC91638022; Fri, 5 Jun 2009 23:12:16 +0100 (BST) In-Reply-To: (Andy Wingo's message of "Thu\, 04 Jun 2009 00\:07\:31 +0200") 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:8626 Archived-At: Andy Wingo writes: > There's a lot of trickiness to this, but I think we all have instincts > on how this should work. I'll write docs soon, but in the meantime, I > would like for folks to ignore the implementation, and just use Guile > for a while, and see if what it does sounds right to you. It prints some > status info on the console when autocompiling. Unfortunately I'm not getting through `make' yet: ... GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" ERROR: Stack overflow But if I switch to a shell and repeat with --debug, no problem: neil@arudy:~/SW/Guile/git/module$ GUILE_AUTO_COMPILE=0 GUILE_FLAGS=--debug ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" wrote `language/ecmascript/spec.go' And no problem if I now remove the --debug again: neil@arudy:~/SW/Guile/git/module$ GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" wrote `language/ecmascript/spec.go' Or even if I delete language/ecmascript/spec.go and retry (so it's not connected with spec.scm already having been compiled): neil@arudy:~/SW/Guile/git/module$ rm language/ecmascript/spec.go neil@arudy:~/SW/Guile/git/module$ GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" wrote `language/ecmascript/spec.go' What's the explanation for that? Neil