From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: Minimal Guile Date: Tue, 3 Jan 2012 14:53:56 -0800 (PST) Message-ID: <1325631236.82931.YahooMailNeo@web37908.mail.mud.yahoo.com> References: <1324326921.17612.YahooMailNeo@web37905.mail.mud.yahoo.com> <1324483391.16920.YahooMailNeo@web37904.mail.mud.yahoo.com> <87fwfwlavy.fsf@gnu.org> Reply-To: Mike Gran NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325631251 10693 80.91.229.12 (3 Jan 2012 22:54:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 22:54:11 +0000 (UTC) To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= , "guile-devel@gnu.org" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 03 23:54:08 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiDF9-0006Ai-PH for guile-devel@m.gmane.org; Tue, 03 Jan 2012 23:54:08 +0100 Original-Received: from localhost ([::1]:43142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiDF4-00070V-4p for guile-devel@m.gmane.org; Tue, 03 Jan 2012 17:54:02 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiDF0-00070N-VA for guile-devel@gnu.org; Tue, 03 Jan 2012 17:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiDEz-00040z-M8 for guile-devel@gnu.org; Tue, 03 Jan 2012 17:53:58 -0500 Original-Received: from nm31-vm0.bullet.mail.bf1.yahoo.com ([72.30.239.8]:40450) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RiDEz-00040s-Bi for guile-devel@gnu.org; Tue, 03 Jan 2012 17:53:57 -0500 Original-Received: from [98.139.212.149] by nm31.bullet.mail.bf1.yahoo.com with NNFMP; 03 Jan 2012 22:53:56 -0000 Original-Received: from [98.139.212.230] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 03 Jan 2012 22:53:56 -0000 Original-Received: from [127.0.0.1] by omp1039.mail.bf1.yahoo.com with NNFMP; 03 Jan 2012 22:53:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 918494.59566.bm@omp1039.mail.bf1.yahoo.com Original-Received: (qmail 96337 invoked by uid 60001); 3 Jan 2012 22:53:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325631236; bh=ZO7eXWvuMe28DJv4CpHNFGIH6WynEYTWGTu9gMTZ6yE=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=a/ghcLhFB5rZW99ho2N9xQr0OWqwCaQa7pbxc9qR/9leQ6n+CJxtKhQsj2TwArIvoKsBGediCBvL3eCp+t+qjZ0rU7GwUZuVDiRpSEItpwspOk9YC4poH5VKUrSChRYQwhla5WQ9Vf7j2OVKptcYUyP5n8wdbQbdlmVxdL5LWDg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HqZL00nT2r7ZRlbXmHZcoHO3eFpLNh77z6lobDIrcEgag4rAqg3mlRdrCQ0kuUmkqakjRKnng8amT36/Ck9XWn0oJ/SAew5t5M5uZbkPIHtc6enNvgnGAfn1oQXJSxp57fKRFSAkYOB7ho8xii5xEqPebNtoD+mC1he5ImMWGao=; X-YMail-OSG: 3SS_sG8VM1nRwjkKewfxwrmCPr5p6QthhucdeesRT0TRXId 3XVPtkPY4VN2_bubc7EPWMYIyuw59KUJ8M_eCRginh3POZtF9AkbJ2P8mVM3 CGXgsbwP.XC8yd2MvadczGvTqx2ZTXamfdQONFj9dppFbTm.56FJj1OOUoCM NjEDxZ8Sp00sqvNf4Za2au473TacWdnQQxVD1bijmSTu2kdP8iuZIN.pj2ky t8lFIThrft83CI2E0HE94tbpOW.yuWua8JW8oJHHfh_s3kcfbAhsQacxzjuC a.pgja_wdgX1VA88VKnDaZnwOyqIlDFD6ICT2391JSPpIuShXiO6B2dvlrez qr0jZojQ8r__a7mCp2p17VByJmf6SO1o.j6JhNVF9T0Rf7pLcIo7j3qz4G9b s6VqQhjG0IiP33oEhma4ZiMYVCwmwD.EpQ0kVxPwGinYI2fEmDz_Gl5ojWFl mHVFohC1xNLVkmIYfQ5PGnvNRS9SU2jmGUlIYOJImoO7aLGs8SwYS7QC0zM7 Gf2Qi8Gedr6qDOA-- Original-Received: from [66.80.183.50] by web37908.mail.mud.yahoo.com via HTTP; Tue, 03 Jan 2012 14:53:56 PST X-Mailer: YahooMailWebService/0.8.115.331698 In-Reply-To: <87fwfwlavy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 72.30.239.8 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13244 Archived-At: > From: Ludovic Court=C3=A8s =0A=C2=A0> Hi Mike!=0A> =0A> Mik= e Gran skribis:=0A> =0A>> It'll be fun to try to minimi= ze it down to just=0A>> the guile executable, libguile-*, and a scheme arc= hive file.=C2=A0 And it=0A>> might help with distribution of prebuilt vers= ions.=0A> =0A> Are you saying that, say, Lilypond=E2=80=99s tarball would c= ontain libguile.so=0A> and the .go files?=C2=A0 (I guess not but then I don= =E2=80=99t get it.=C2=A0 ;-))=0A=C2=A0=0AI'm saying that you could create a= Guile build that would make only=0Athree non-documentation=C2=A0output pro= ducts: libguile.so, all the .go files=0Ain a single .iso or .tar file, and = the Guile executable.=0A=C2=A0=0AThe libguile would be modified so that the= .iso or .tar file would=0Anever be unpacked.=C2=A0=C2=A0Guile would=C2=A0l= ook inside the .tar or .iso for the =0Acompiled .go files.=0A=C2=A0=0A(I'm = assuming this is for use as an extension, so I'm ignoring=0Acomplications l= ike guile-readline for now.)=0A=C2=A0=0AThis way, if one wanted to distribu= te compiled versions of Guile along with=0Aan application, one would only n= eed to add the libguile.so and the=0Ago-tar or go-iso file.=0A=C2=A0=0AIf y= ou wanted to get really minimal, you could actually put the .go=0Atar archi= ve or .go iso archive within a binary segment of the libguile.so=0Aitself, = so that you'd only need to distribute libguile.so.=C2=A0=0A=C2=A0=0A> I wou= ld borrow code from Bigloo, Chicken, or some other Scheme=0A> implementatio= n that comes with that, or write it anew in Scheme.=0A=0AWouldn't work in t= his case, since Guile needs to read .go files=0Abefore it can interpret sch= eme.=0A=C2=A0=0AThanks,=0A=C2=A0=0AMike=C2=A0