From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Handling of links with portable dumper Date: Mon, 08 Apr 2019 00:04:40 -0400 Message-ID: <87tvf9ywfb.fsf@md5i.com> References: <83imvtc8jb.fsf@gnu.org> <83a7h3bq73.fsf@gnu.org> <834l7aa650.fsf@gnu.org> <17ec5b0b6f1f86796561ff9a40612068.squirrel@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="41571"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 08 06:05:24 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDLX9-000Agx-Hc for ged-emacs-devel@m.gmane.org; Mon, 08 Apr 2019 06:05:23 +0200 Original-Received: from localhost ([127.0.0.1]:46916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDLX8-0001sh-Es for ged-emacs-devel@m.gmane.org; Mon, 08 Apr 2019 00:05:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDLWX-0001sZ-71 for emacs-devel@gnu.org; Mon, 08 Apr 2019 00:04:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDLWU-0004Q5-Mp for emacs-devel@gnu.org; Mon, 08 Apr 2019 00:04:45 -0400 Original-Received: from md5i.com ([75.151.244.229]:56872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hDLWT-0004No-Q5 for emacs-devel@gnu.org; Mon, 08 Apr 2019 00:04:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fWIWsyMPehh9VzKn36L1/JTCgR9SXBXeut5Di9XXcGM=; b=WSRlRPiClcts6qUcWA8UdGpfIE WyzqKzde7c5ZyUiGqiv1fyOCBGIzp3AL0MLb/N7GXtNubIDbMI2/Cdcb/foF4SI5Te97o173lIPwb 7jW8wwFm5ceI4mzUJLrxZBR0h; Original-Received: from md5i by md5i.com with local (Exim 4.92) (envelope-from ) id 1hDLWS-0001hu-GH for emacs-devel@gnu.org; Mon, 08 Apr 2019 00:04:40 -0400 In-Reply-To: (=?iso-8859-1?Q?=22Cl=E9ment?= Pit-Claudel"'s message of "Sun, 7 Apr 2019 18:07:59 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 75.151.244.229 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:235103 Archived-At: Cl=E9ment Pit-Claudel writes: > On 2019-04-07 13:44, Paul Eggert wrote: >> I still think it'd be better to put the dump into the executable >> itself, which can be done portably simply by linking a big C >> character array into the executable. in the long run this will be >> better for users (and for us) than fiddling with portability >> minefields like set_program_name_and_installdir. > > Does that mean also rewriting the full binary when we rewrite the dump? I would assume that when the executable was built it would be dumped with the dump file created at that time, but that that emacs could load a different dump file than the one built into it. I don't see a good portable way to re-make the executable after the fact absent going back to the source build, though. --=20 Michael Welsh Duggan (md5i@md5i.com)