[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b78508696b: Merge from origin/emacs-28
From: |
Stefan Kangas |
Subject: |
master b78508696b: Merge from origin/emacs-28 |
Date: |
Tue, 28 Jun 2022 00:44:28 -0400 (EDT) |
branch: master
commit b78508696b1997ba0eef4288219071994c88e575
Merge: 9c268510cf a280df4cab
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Merge from origin/emacs-28
a280df4cab ; Mention in NEWS the need to use --bindir
# Conflicts:
# etc/NEWS
---
etc/NEWS.28 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/etc/NEWS.28 b/etc/NEWS.28
index 2efa881b2f..39bf36d92d 100644
--- a/etc/NEWS.28
+++ b/etc/NEWS.28
@@ -18,6 +18,24 @@ with a prefix argument or by typing 'C-u C-h C-n'.
* Installation Changes in Emacs 28.2
+** To install the Emacs binary in a non-standard directory, use '--bindir='.
+If you install Emacs in a way that places the Emacs executable file in
+a directory other than ${prefix}/bin, you will now need to specify
+that at configure time, if you build Emacs with native-compilation
+support. To this end, add the '--bindir=DIRECTORY' switch to the
+command line of the 'configure' script, where DIRECTORY is the
+directory in which you will install the executable file 'emacs'. This
+is required even if you place a symlink under ${prefix}/bin that
+points to the real executable file in some other DIRECTORY.
+
+It is no longer enough to specify 'bindir=DIRECTORY' on the command
+line of the "make install" command.
+
+The reason for this new requirement is that Emacs needs to locate at
+startup the directory with its '*.eln' natively-compiled files for the
+preloaded Lisp packages, and the relative name of that directory needs
+therefore to be recorded in the executable as part of the build.
+
* Startup Changes in Emacs 28.2