From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Michael Rohleder" Newsgroups: gmane.emacs.devel Subject: Re: Install C source code for for debugging help Date: Sat, 28 Sep 2019 04:14:19 +0200 Message-ID: <87k19tb210.fsf@rohleder.de> References: <7ba0e94a-6256-c425-aaf8-7ee8822216a7@cs.ucla.edu> <8336gil439.fsf@gnu.org> <1cb04f23-5fa1-c866-41a8-60156d15936d@cs.ucla.edu> <83v9tejjdv.fsf@gnu.org> <83a7apkgn7.fsf@gnu.org> <835zldkfkq.fsf@gnu.org> <4F3CD911-4F73-4C64-9EB5-23ED639E6DBB@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="254989"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 28 04:15:06 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iE2GG-0014AO-Mu for ged-emacs-devel@m.gmane.org; Sat, 28 Sep 2019 04:15:04 +0200 Original-Received: from localhost ([::1]:58798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iE2GE-0007DI-QC for ged-emacs-devel@m.gmane.org; Fri, 27 Sep 2019 22:15:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35150) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iE2Fh-0006a3-HB for emacs-devel@gnu.org; Fri, 27 Sep 2019 22:14:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iE2Fg-0002ZG-DU for emacs-devel@gnu.org; Fri, 27 Sep 2019 22:14:29 -0400 Original-Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:56666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iE2Fg-0002Yy-7n for emacs-devel@gnu.org; Fri, 27 Sep 2019 22:14:28 -0400 Original-Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1iE2Fb-0007Kv-0d; Sat, 28 Sep 2019 04:14:23 +0200 Original-Received: from [192.168.1.4] (helo=xbmc) by www.rohleder.de with smtp (Exim 4.92.2) (envelope-from ) id 1iE2FZ-0007E5-Cw for emacs-devel@gnu.org; Sat, 28 Sep 2019 04:14:22 +0200 Original-Received: by xbmc (sSMTP sendmail emulation); Sat, 28 Sep 2019 04:14:25 +0200 In-Reply-To: <4F3CD911-4F73-4C64-9EB5-23ED639E6DBB@gmail.com> (Fu Yuan's message of "Fri, 27 Sep 2019 18:45:07 -0400") X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1569636868;6205ecc7; X-HE-SMSGID: 1iE2Fb-0007Kv-0d X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:488:42:1000:50ed:84e7:: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240356 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Fu Yuan writes: > So what I=E2=80=99m trying to say is that 1) Emacs is already encouraging= users to > explore (Elisp) source and 2) enabling access to C by default don=E2=80= =99t 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: =2D build emacs with USE=3Dsources and they get installed in /usr/share/emacs/${FULL_VERSION}/src =2D put FEATURES=3Dinstallsources 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...) =2D-=20 Redistribution via the Microsoft Network is prohibited. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl2OwfsACgkQfHr/vv7y yyXjPggAuHnOl4bYotTdQBNpVwscmVr6RaTU1TkVLxlygr3CgGopHCsU9G1cjPG8 wJ1xhRATjusONaVJREF1lZsppHLQEd9lk4oK6iSCoS6sFUkjsqfRosAtnuJHfwXR UI4w3iCNLpM9eaRfnDZ/pNygHGOFspaDtaalTcAkcPnxDm1A5pqvLh5JgiPTtDQD tccb5AZW04PdFi+XGiww8PBdzo5RrsQDOdR0lQBTOO1zPoENY05vpiK6Rmn3IPAH 8WlHSfFf6ecct2SH3PxsyfwQ6EoXRDyQpYSwXAmr5jA0IHEy3DI9dXI2gaZDTNx+ 76Mq8BhDsuPOaiFgI8Kqy1NOATBddQ== =edtY -----END PGP SIGNATURE----- --=-=-=--