From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: How to compile a portable emacs for Linux? Date: Tue, 11 Sep 2012 08:52:25 +0200 Message-ID: <20120911065225.GB2417@kuru.dyndns-at-home.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1347346367 19942 80.91.229.3 (11 Sep 2012 06:52:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2012 06:52:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 08:52:50 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TBKL4-0002ND-50 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 08:52:50 +0200 Original-Received: from localhost ([::1]:51635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBKL0-0003jA-PS for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 02:52:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBKKq-0003j5-SU for help-gnu-emacs@gnu.org; Tue, 11 Sep 2012 02:52:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBKKl-0005zS-6w for help-gnu-emacs@gnu.org; Tue, 11 Sep 2012 02:52:36 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:37910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBKKl-0005zG-0a for help-gnu-emacs@gnu.org; Tue, 11 Sep 2012 02:52:31 -0400 Original-Received: by wibhn17 with SMTP id hn17so151814wib.12 for ; Mon, 10 Sep 2012 23:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=1L+oklVZFjLu5fDlopVQCoGe93qLTb9/zYxpZaReG6A=; b=qIDlJ/C9fyTqHrtQXiYhs90ly9bhsm921+1Pv2n88g2+wZnjEMcItZbvdPF5WzrPQo RsM3v3H+aKap9ZxpGgKp1VXnpnIWDRzGDXshx1nroxUdfcU7IzFFOCxWZX6rKv8c2f9A BhqQsjs+AtBniMQqVWlXwAp18FPgsA3jWqSlvYUTvn0AYR1ofkBH+l8alOFWjOkZ1tG7 DApvpsTaDeWLAmPmgZ8YTM9AWn4oile5fh60sf/AWuMw+zxLpbw4GyE077jySk8gfwG5 T0k2uixlsECIwkN669KfnyWahRgtZPnwkqCzE65pDJKTYodJjX1V44rEgNugDufDKFql D3NA== Original-Received: by 10.217.3.71 with SMTP id q49mr9705804wes.33.1347346349675; Mon, 10 Sep 2012 23:52:29 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com (AAnnecy-651-1-347-89.w90-10.abo.wanadoo.fr. [90.10.122.89]) by mx.google.com with ESMTPS id el6sm1164841wib.8.2012.09.10.23.52.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Sep 2012 23:52:28 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2011-07-01) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.177 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86718 Archived-At: On Mon, Sep 10, 2012 at 08:44:37PM -0700, Jason Rumney wrote: > On Tuesday, 11 September 2012 10:44:26 UTC+8, Z C wrote: > > > But I have specific need: I need to run emacs on multiple computers > > and the path is not a constant. So how can I build a portable > > version of emacs? > > > > For instance, I want to put the program and all its data in a folder > > named emacs, and this folder may have different path on different > > computers: /media/disk/emacs or /home/xxx/emacs or ...., and I want > > to make it run on those computers. > > Don't make install. Just copy the results of make (.o and .c files can > be omitted if you are short on space). If Emacs finds it is not > installed in the configured path, it will assume that it is running > uninstalled, and will look for files relative to its location in the > src directory. > I do not think that will work; what about linked libraries? It will work only when the linked libraries are at the same location on the different systems, at least that is what I recall when I wanted something like this myself a few years back. -- Suvayu Open source is the future. It sets us free.