From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Generating compiled scm (.go) files as part of LilyPond build Date: Mon, 29 Nov 2010 22:17:50 +0100 Message-ID: References: <4CF14302.1020502@hulin.org.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291065248 16446 80.91.229.12 (29 Nov 2010 21:14:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2010 21:14:08 +0000 (UTC) Cc: Patrick, guile-user@gnu.org, Han-Wen Nienhuys To: Ian Hulin Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 29 22:14:03 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PNB2x-0007Rh-Ej for guile-user@m.gmane.org; Mon, 29 Nov 2010 22:14:03 +0100 Original-Received: from localhost ([127.0.0.1]:50253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNB2w-0005XK-SS for guile-user@m.gmane.org; Mon, 29 Nov 2010 16:14:02 -0500 Original-Received: from [140.186.70.92] (port=45316 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNB2f-0005W1-N7 for guile-user@gnu.org; Mon, 29 Nov 2010 16:13:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNB2e-0001sh-Mo for guile-user@gnu.org; Mon, 29 Nov 2010 16:13:45 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:45604 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNB2e-0001sd-Iv for guile-user@gnu.org; Mon, 29 Nov 2010 16:13:44 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id D9B873EF7; Mon, 29 Nov 2010 16:14:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Qvk9Vaq7kkHluc93qZmTQSQuNVo=; b=sOYNW1 +h5DC5bBt23b38bB5Pg7C8DBNXNzxVPI17WcyC8GlIHQkJvtZokYix5h8FSX0EdP zUfo2kueuuQghYOfYqySQCqcgL8EJiHcvZkAfOGfiuE9TItPyz7Hbk/iHRUClj/Y k108nPKOVuBRaaqfL8PW7fzhGxBOeTIlSsxlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=o4VM5yFs6u+UeEDEr7SQCsIoFkGGY+03 8bTyxHdybLQChHi5RC6q4WSyzdoqq9bgJE4iYDAKVRjHfVRBN98eXQf5lU4qZzhH IKB/5G6WDzZX28DQLAvuVuIfippNZ4sgRG7+5WadR0ExV9ienoFZBuox98FX+TRg 3joNdFEiCP0= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id A24F23EF6; Mon, 29 Nov 2010 16:13:58 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5EF233EF0; Mon, 29 Nov 2010 16:13:53 -0500 (EST) In-Reply-To: <4CF14302.1020502@hulin.org.uk> (Ian Hulin's message of "Sat, 27 Nov 2010 17:42:26 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 94CD7836-FBFD-11DF-8D97-CDEAE6EC64FC-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8250 Archived-At: On Sat 27 Nov 2010 18:42, Ian Hulin writes: > Our long-term aim, when we are able to move to using Guile V2.0 as an > infrastructure, is to byte-compile as many of these as possible during > the Lily build using something like. > $ guile-tool compile > --output-file=<.go file> Ralf has promised to add Guile 2.0 support to automake, so this should be partly automated. > At the moment, during Lily initialization we prefix the guile path > %load-path with /scm as this is where we keep all the > LilyPond-specific scm files. There is also $GUILE_LOAD_COMPILED_PATH in 2.0, which you can set to the proper path in your $builddir... which, ummm, doesn't appear to be documented. Sorry about that. Want to patch our docs? :) Ciao, Andy -- http://wingolog.org/