From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Mon, 24 Oct 2016 22:52:22 +0300 Message-ID: <83mvht34p5.fsf@gnu.org> References: <87twe6sx2g.fsf@users.sourceforge.net> <87eg51ng4r.fsf_-_@users.sourceforge.net> <87k2djwumn.fsf@users.sourceforge.net> <83h98nidvd.fsf@gnu.org> <87eg3rvtsf.fsf@users.sourceforge.net> <83k2dihpm9.fsf@gnu.org> <8760p2wzgj.fsf@users.sourceforge.net> <838ttyhhzu.fsf@gnu.org> <871szqwu51.fsf@users.sourceforge.net> <831szqhbc2.fsf@gnu.org> <87d1itt79z.fsf_-_@users.sourceforge.net> <7baa18d4-2b09-caa8-005e-29008a383ad1@cs.ucla.edu> <83mvhwrgd5.fsf@gnu.org> <8539f38f-9a11-44c3-4de7-bb974c96206c@cs.ucla.edu> <8360ojpndr.fsf@gnu.org> <86bmy9ioja.fsf@molnjunk.nocrew.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1477338984 14869 195.159.176.226 (24 Oct 2016 19:56:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2016 19:56:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Brinkhoff Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 21:56:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bylLb-0000En-0y for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 21:55:51 +0200 Original-Received: from localhost ([::1]:49558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bylLd-0000Ou-Be for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 15:55:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bylIa-00062j-08 for emacs-devel@gnu.org; Mon, 24 Oct 2016 15:52:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bylIW-0002Dr-VL for emacs-devel@gnu.org; Mon, 24 Oct 2016 15:52:44 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bylIW-0002Dj-So; Mon, 24 Oct 2016 15:52:40 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3542 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bylIU-00029O-6E; Mon, 24 Oct 2016 15:52:40 -0400 In-reply-to: <86bmy9ioja.fsf@molnjunk.nocrew.org> (message from Lars Brinkhoff on Mon, 24 Oct 2016 20:34:49 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:208743 Archived-At: > From: Lars Brinkhoff > Date: Mon, 24 Oct 2016 20:34:49 +0200 > > I suppose it's obvious that this dumped.elc can't easily be converted to > a c file which is compiled and linked into the final emacs. It can. More accurately, we could implement a back-end to the unexec process that generates C source file. That was Paul's suggestion. I consider this option less desirable for several reasons: . writing and maintaining such a C back-end would be non-trivial, and would require good control of portable C programming, something that most of our contributors lack . it requires a C compiler, i.e. end-users cannot dump their own customized Emacs without having a compiler and linker installed