From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Diogo F. S. Ramos Newsgroups: gmane.lisp.guile.user Subject: Re: Installing scheme only programs Date: Thu, 10 Mar 2011 14:46:02 -0300 (BRT) Message-ID: <20110310.144602.1727470623006750696.diogofsr@gmail.com> 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=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299779181 9615 80.91.229.12 (10 Mar 2011 17:46:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 17:46:21 +0000 (UTC) Cc: guile-user@gnu.org To: ttn@gnuvola.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 10 18:46:16 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 1PxjwC-0006xE-Tp for guile-user@m.gmane.org; Thu, 10 Mar 2011 18:46:13 +0100 Original-Received: from localhost ([127.0.0.1]:58919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxjwC-0000xQ-C0 for guile-user@m.gmane.org; Thu, 10 Mar 2011 12:46:12 -0500 Original-Received: from [140.186.70.92] (port=46462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxjvt-0000xJ-Pk for guile-user@gnu.org; Thu, 10 Mar 2011 12:45:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxjvs-0004aq-EH for guile-user@gnu.org; Thu, 10 Mar 2011 12:45:53 -0500 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:43142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxjvs-0004ae-AL for guile-user@gnu.org; Thu, 10 Mar 2011 12:45:52 -0500 Original-Received: by yxt33 with SMTP id 33so1023589yxt.0 for ; Thu, 10 Mar 2011 09:45:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:message-id:to:cc:subject:from:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=fnzQ9vLKSBaF6jyykgWv4WdYRWkqcO1+5GT71eEqtjY=; b=oJv96szKaWIm+XH+Z9hsAEXaoqK14V5JFV52yvnVaTwpLzg3yfef5UOVdJ4f/h18ot PK9m8IC69vXWTi0IqPHxXUCpvJJp2P6gk9KDMMnzHmi95eDljMVTvDAp1aOk0JHRMKNT Aa3hjgmj7Xw7IJd79eZizjjBFMyAfxLmAswy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=F+QamkAomZl1s3yK9OgJyES98uDA1MNn7ayE3uW1/048GAy3uMRPQsKkNE0xi/XuBo Y74htY6x4iI5GzOr1X1/tT5HpL9/gx/QZGkTJUG+zqvWF4IvaiNMJK09C7MtzBrhrTLR 1rdGzZ6hendjmXDyDcJRiWCpJ9geDJG91ftQo= Original-Received: by 10.151.62.31 with SMTP id p31mr1395262ybk.24.1299779151671; Thu, 10 Mar 2011 09:45:51 -0800 (PST) Original-Received: from localhost (189-68-66-173.dsl.telesp.net.br [189.68.66.173]) by mx.google.com with ESMTPS id w6sm4151720anf.26.2011.03.10.09.45.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2011 09:45:50 -0800 (PST) In-Reply-To: <87sjuvw9fb.fsf@ambire.localdomain> X-Mailer: Mew version 6.3.50 on Emacs 23.2 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.169 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:8518 Archived-At: > 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 > > No fuss, no muss. I'm liking this technique and I will experience a little more with it. I wonder if there is a tool to, say, strip all comments from the "binary", so it could be smaller. I guess such tool would not be that hard to write, but I don't know. But I guess, in the end, the way to go would be using the new compilation technology from guile 2.0, although not for now, as I'm running 1.8. -- Diogo F. S. Ramos