[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile a portable emacs for Linux?

From: Jason Rumney
Subject: Re: How to compile a portable emacs for Linux?
Date: Mon, 10 Sep 2012 20:44:37 -0700 (PDT)
User-agent: G2/1.0

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]