From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70246: 30.0.50; Update INSTALL for native compilation Date: Mon, 08 Apr 2024 14:10:12 +0300 Message-ID: <86frvwyusr.fsf@gnu.org> References: <87plv29pro.fsf@gmx.net> <86il0t1z96.fsf@gnu.org> <87r0fhpf52.fsf@gmx.net> <86v84tz0ma.fsf@gnu.org> <87frvxouin.fsf@gmx.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16516"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70246@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 08 13:11:12 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rtmu8-00042E-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Apr 2024 13:11:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtmts-0000UN-Ba; Mon, 08 Apr 2024 07:10:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtmtr-0000UF-9a for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 07:10:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtmtq-0003Vj-VM for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 07:10:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtmty-0001Yv-5f for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Apr 2024 11:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70246 X-GNU-PR-Package: emacs Original-Received: via spool by 70246-submit@debbugs.gnu.org id=B70246.17125746285799 (code B ref 70246); Mon, 08 Apr 2024 11:11:02 +0000 Original-Received: (at 70246) by debbugs.gnu.org; 8 Apr 2024 11:10:28 +0000 Original-Received: from localhost ([127.0.0.1]:45371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtmtQ-0001VR-7i for submit@debbugs.gnu.org; Mon, 08 Apr 2024 07:10:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtmtP-0001VG-0T for 70246@debbugs.gnu.org; Mon, 08 Apr 2024 07:10:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtmtC-0003IM-AB; Mon, 08 Apr 2024 07:10:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FTME+i+n5yfSWVKxxhF38DiNkSKLIuZz1fterd0yv4M=; b=LM1YT00CyJ6D 1bbWwLHZeH9gZTgO+sj/Xth1ZlP63+jRiAaPzrXv0hkZzZoVWZYbprHuwioYB/lA3Lbcuzc+gZ1VI QQwlMvnigrmoxuDS3Qmb0rkm2LYjfRjmngOWS3C/ge0aMyM7fa7cjcV9TIsOf9EMHZltHqaGDPs8f GNRfR77goRpJvE/xOu7ZdgOIrh3gM+R1u0VAd8yxJRGiodhMLzdIZlB2Bt547x/23mrURMufYt24/ 7yhCF26SU+epXACf0FMATs3h37UnnxUviY8M00kcuPDXffP/gRP8iGoDrc27ZzzmbzGDzjmfqL0E2 Rcz0vLELsCPR3quS5czcmA==; In-Reply-To: <87frvxouin.fsf@gmx.net> (message from Stephen Berman on Sun, 07 Apr 2024 21:14:08 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282924 Archived-At: > From: Stephen Berman > Cc: 70246@debbugs.gnu.org > Date: Sun, 07 Apr 2024 21:14:08 +0200 > > > The bottom line is that the Lisp and Info files will be taken from the > > source tree, not from the build tree. So if you have more than one > > build from the same source tree, then they all share the Lisp and Info > > files. Therefore, if you modify anything in the source tree, you must > > rebuild all the out-of-tree builds, otherwise those you don't rebuild > > will be inconsistent with the modified sources. > > Yes, but if you instead make copies of the sources (or different repo > branches) to build different configurations and make changes that you > want to test in all configurations, then you have to make those changes > in each copy or branch and rebuild them all, too. So there are > trade-offs in both procedures. My point was not that there aren't tradeoffs, my point was that building out of source has certain subtleties that need to be understood to avoid surprises. > @@ -574,6 +601,11 @@ are installed in the following directories: > at the same time; in particular, you don't have to > make Emacs unavailable while installing a new version. > > +'/usr/local/lib/emacs/VERSION/native-lisp' holds the natively compiled > + pre-loaded Emacs Lisp files. > + > +'~/.emacs.d/eln-cache/' holds the remaining natively compiled Lisp files. > + > '/usr/local/share/emacs/VERSION/etc' holds the Emacs tutorial, the DOC > file, and other architecture-independent files Emacs > might need while running. Here you didn't make the change I suggested: > > +'/usr/local/lib/emacs/VERSION/native-lisp' holds the natively compiled > > + pre-loaded Emacs Lisp files. > > The above also contains the other Lisp files if using the > "--with-native-compilation=aot" configure-time option. > > > +'~/.emacs.d/eln-cache/' holds the remaining natively compiled Lisp files. > > Instead of "remaining" I'd say "just-in-time natively compiled Lisp > files". Without that, these are a bit inaccurate, and could be misinterpreted. Other that that, the patch LGTM, thanks.