From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Installing scheme only programs Date: Fri, 11 Mar 2011 13:53:37 +0100 Message-ID: <87d3lxom26.fsf@gnu.org> References: <20110310.035029.58396821684886596.diogofsr@gmail.com> <87sjuvw9fb.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1299848110 27613 80.91.229.12 (11 Mar 2011 12:55:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 12:55:10 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Mar 11 13:55:07 2011 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 1Py1s1-0002wJ-WF for guile-user@m.gmane.org; Fri, 11 Mar 2011 13:55:06 +0100 Original-Received: from localhost ([127.0.0.1]:36766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Py1s1-0001EI-JR for guile-user@m.gmane.org; Fri, 11 Mar 2011 07:55:05 -0500 Original-Received: from [140.186.70.92] (port=36997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Py1qr-000162-F6 for guile-user@gnu.org; Fri, 11 Mar 2011 07:53:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Py1qq-0005ry-8a for guile-user@gnu.org; Fri, 11 Mar 2011 07:53:53 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:38672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Py1qq-0005rt-32 for guile-user@gnu.org; Fri, 11 Mar 2011 07:53:52 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Py1qn-0002KW-UN for guile-user@gnu.org; Fri, 11 Mar 2011 13:53:49 +0100 Original-Received: from 193.50.110.208 ([193.50.110.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2011 13:53:49 +0100 Original-Received: from ludo by 193.50.110.208 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2011 13:53:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.208 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?iso-8859-1?Q?Vent=F4se?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:M+v8XkPdH45li1nZ1kka6CMbhY4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:8531 Archived-At: Hello, Thien-Thi Nguyen writes: > () Diogo F. S. Ramos > () Thu, 10 Mar 2011 03:50:29 -0300 (BRT) > > I recently learn a technique where, during 'make', one 'cat' all the > sources files together, forming a big, single executable script. Doing > so, there is no need to install the .scm files, because they are all > inside the same executable file. > > This is the technique used in RPX: > > http://www.gnuvola.org/software/rpx/ > > It generalizes "compilation" from simple concatentation to include other > program-specific transforms. End result is two files to (un)install: > > - $(bindir)/rpx > - $(infodir)/rpx.info But then doesn’t it prevent code reuse? I don’t know to what extent this applies to RPX, but for instance, you can’t just ‘(use-modules (rpx the-feature-you-want-to-use))’; you end up doing ‘(use-modules (rpx))’ and potentially pulling more code than you really want. Thanks, Ludo’.