emacs-devel
[Top][All Lists]
Advanced

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

Re: Install C source code for for debugging help


From: Michael Rohleder
Subject: Re: Install C source code for for debugging help
Date: Sat, 28 Sep 2019 04:14:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Fu Yuan <address@hidden> writes:
> So what I’m trying to say is that 1) Emacs is already encouraging users to
> explore (Elisp) source and 2) enabling access to C by default don’t have much
> benefit and 3) there might be a good alternative.

To 3) one is to use gentoo (and maybe other source based distros?) which
have this functionality build in:

- build emacs with USE=sources and they get installed in
/usr/share/emacs/${FULL_VERSION}/src
- put FEATURES=installsources in your make.conf and sources
get installed to /usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src

etc (w/ symbols, git master branch ...)

For .deb based distros one can "apt-get source emacs.deb" after you have
added a deb-src url to /etc/apt/sources.list.


So in short, I think this is the job of a distro and also the freedom
for the user to decide if he wants src installed should be there
(or in the package management).

But, if its easy to add a ./configure flag like --install-with-sources,
it could still be useful, because it has much more information about
what exactly are the source files, so it could make (src) packaging
easier. (eg gentoo copies .c,.h,.m files. that could be wrong...)


-- 
Redistribution via the Microsoft Network is prohibited.

Attachment: signature.asc
Description: PGP signature


reply via email to

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