From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: How to compile a portable emacs for Linux? Date: Mon, 10 Sep 2012 20:44:37 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347335086 7249 80.91.229.3 (11 Sep 2012 03:44:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2012 03:44:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gnu.emacs.help@googlegroups.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 05:44:49 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 1TBHP7-0004LU-2N for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 05:44:49 +0200 Original-Received: from localhost ([::1]:49664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBHP3-0002yd-Lb for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Sep 2012 23:44:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBHOy-0002yW-B4 for help-gnu-emacs@gnu.org; Mon, 10 Sep 2012 23:44:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBHOx-0007mo-9Z for help-gnu-emacs@gnu.org; Mon, 10 Sep 2012 23:44:40 -0400 Original-Received: from mail-gg0-f189.google.com ([209.85.161.189]:60243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBHOx-0007mj-50 for help-gnu-emacs@gnu.org; Mon, 10 Sep 2012 23:44:39 -0400 Original-Received: by ggcs5 with SMTP id s5so92829ggc.6 for ; Mon, 10 Sep 2012 20:44:38 -0700 (PDT) Original-Received: by 10.68.233.104 with SMTP id tv8mr924534pbc.5.1347335078006; Mon, 10 Sep 2012 20:44:38 -0700 (PDT) Original-Path: glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=175.136.230.202; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM Original-NNTP-Posting-Host: 175.136.230.202 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 175.136.230.202 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.161.189 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:86717 Archived-At: 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 t= he path is not a constant. So how can I build a portable version of emacs? >=20 > For instance, I want to put the program and all its data in a folder name= d emacs, and this folder may have different path on different computers: /m= edia/disk/emacs or /home/xxx/emacs or ...., and I want to make it run on th= ose computers. Don't make install. Just copy the results of make (.o and .c files can be o= mitted if you are short on space). If Emacs finds it is not installed in t= he configured path, it will assume that it is running uninstalled, and will= look for files relative to its location in the src directory.