From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Installing the Emacs executable Date: Wed, 24 Apr 2013 20:06:38 +0300 Message-ID: <83haivx3hd.fsf@gnu.org> References: <83fvyq4es6.fsf@gnu.org> <83k3ny1hl3.fsf@gnu.org> <31mwsubb7b.fsf@fencepost.gnu.org> <83ip3i1gut.fsf@gnu.org> <33A901B8-67E3-4C81-BF5B-7C9B4A8836E1@raeburn.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366823212 19426 80.91.229.3 (24 Apr 2013 17:06:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 17:06:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ken Raeburn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 24 19:06:56 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UV39i-0003C1-Hw for ged-emacs-devel@m.gmane.org; Wed, 24 Apr 2013 19:06:54 +0200 Original-Received: from localhost ([::1]:50179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV39h-0007Ec-Tr for ged-emacs-devel@m.gmane.org; Wed, 24 Apr 2013 13:06:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV39b-0007EO-44 for emacs-devel@gnu.org; Wed, 24 Apr 2013 13:06:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV39V-0005d6-K8 for emacs-devel@gnu.org; Wed, 24 Apr 2013 13:06:47 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV39V-0005cl-B8 for emacs-devel@gnu.org; Wed, 24 Apr 2013 13:06:41 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MLR00400RGYI000@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 24 Apr 2013 20:06:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLR003XERJ0ZSD0@a-mtaout22.012.net.il>; Wed, 24 Apr 2013 20:06:37 +0300 (IDT) In-reply-to: <33A901B8-67E3-4C81-BF5B-7C9B4A8836E1@raeburn.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159159 Archived-At: > From: Ken Raeburn > Date: Wed, 24 Apr 2013 01:05:07 -0400 > Cc: emacs-devel@gnu.org > > On Apr 19, 2013, at 15:05, Eli Zaretskii wrote: > > That's a different issue. My question was about what "make install" > > does with DOC, not what "make emacs" does in src. We can install DOC > > under the name DOC-XX.YY.ZZ without changing what happens in src and > > in etc of the build tree. > > I've long wondered if it would be better to get rid of the DOC file altogether and keep the documentation in the executable image. > > With GCC and ELF systems, it's not that hard to compile the C doc strings into a specially named section Beware: you might get into the same situation that the Windows build is today -- you will be unable to strip the resulting executable as part of "make install-strip", because 'strip' doesn't know anything about the section you add. In any case, I thought the tendency was to stay away of tricks that are too specific to binary formats, to avoid re-living the unexec problem...