Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
005ed494
Commit
005ed494
authored
Oct 08, 2019
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* INSTALL: Describe installation of source and debug packages. (Bug#37527)
parent
32a67a5c
Pipeline
#3504
failed with stage
in 52 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
1 deletion
+37
-1
INSTALL
INSTALL
+37
-1
No files found.
INSTALL
View file @
005ed494
...
...
@@ -206,7 +206,7 @@ need to compile it. For example, to compile Emacs with support for X
and graphics libraries, you may need to install the X development
package(s), and development versions of the jpeg, png, etc. packages.
The names of the packages that you need var
ies
according to the
The names of the packages that you need var
y
according to the
GNU/Linux distribution that you use, and the options that you want to
configure Emacs with. On Debian-based systems, you can install all the
packages needed to build the installed version of Emacs with a command
...
...
@@ -214,6 +214,42 @@ like 'apt-get build-dep emacs' (on older systems, replace 'emacs' with
eg '
emacs25
'). On Red Hat-based systems, the corresponding command is
'
dnf
builddep
emacs
' (on older systems, use '
yum
-
builddep
' instead).
* GNU/Linux source and debug packages
Many GNU/Linux systems provide separate packages containing the
sources and debug symbols of Emacs. They are useful if you want to
check the source code of Emacs primitive functions or debug Emacs on
the C level.
The names of the packages that you need vary according to the
GNU/Linux distribution that you use. On Debian-based systems, you can
install a source package of Emacs with a command like '
apt
-
get
source
emacs
' (on older systems, replace '
emacs
' with eg '
emacs25
'). The
target directory for unpacking the source tree is the current
directory. On Red Hat-based systems, the corresponding command is
'
dnf
install
emacs
-
debugsource
', with target directory /usr/src/debug
(this requires to add the *-debuginfo repositories first, via '
dnf
config
-
manager
--
set
-
enabled
fedora
-
debuginfo
updates
-
debuginfo
').
Once you have installed the source package, for example at
/path/to/emacs-26.1, add the following line to your startup file:
(setq find-function-C-source-directory
"/path/to/emacs-26.1/src")
The installation directory of the Emacs source package will contain
the exact package name and version number Emacs is installed on your
system. If a new Emacs package is installed, the source package must
be reinstalled as well, and the setting in your startup file must be
updated.
Emacs debugging symbols are distributed by a debug package. It does
not exist for every released Emacs package, this depends on the
distribution. On Debian-based systems, you can install a debug
package of Emacs with a command like '
apt
-
get
install
emacs
-
dbg
' (on
older systems, replace '
emacs
' with eg '
emacs25
'). On Red Hat-based
systems, the corresponding command is '
dnf
debuginfo
-
install
emacs
'.
DETAILED BUILDING AND INSTALLATION:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment