From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.help Subject: Re: limit native compilation - how Date: Sun, 16 Jan 2022 17:08:44 +0000 Message-ID: <86sftn1ucj.fsf@gmail.com> References: <8735lp57kl.fsf@yandex.com> <83sftpyos0.fsf@gnu.org> <87a6fxugwg.fsf@zoho.eu> <83r199ymxj.fsf@gnu.org> <875yqluem4.fsf@zoho.eu> <83pmoszxwx.fsf@gnu.org> <874k64ddwo.fsf@yandex.com> <86h7a4954a.fsf@duenenhof-wilhelm.de> <83czksyszr.fsf@gnu.org> <86zgnv7w9n.fsf@duenenhof-wilhelm.de> <83wnizykig.fsf@gnu.org> <86r1977uu6.fsf@duenenhof-wilhelm.de> <83tue3yiw9.fsf@gnu.org> <86h7a37qzf.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11651"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:PIC9ZT3uml1a2CoEqaumBnC+hUE= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 16 18:10:29 2022 Return-path: Envelope-to: geh-help-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 1n992z-0002wS-6b for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 16 Jan 2022 18:10:29 +0100 Original-Received: from localhost ([::1]:40748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n992y-0006PJ-9Q for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 16 Jan 2022 12:10:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n991U-0006OM-8T for help-gnu-emacs@gnu.org; Sun, 16 Jan 2022 12:08:58 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:54920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n991P-00086P-Ly for help-gnu-emacs@gnu.org; Sun, 16 Jan 2022 12:08:54 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n991N-0000rr-NP for help-gnu-emacs@gnu.org; Sun, 16 Jan 2022 18:08:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135368 Archived-At: On Sun 16 Jan 2022, H. Dieter Wilhelm wrote: > Eli Zaretskii writes: > >>> From: "H. Dieter Wilhelm" >>> Cc: help-gnu-emacs@gnu.org >>> Date: Sun, 16 Jan 2022 13:01:37 +0100 >>> >>> Could the difference in size result from opening my Emacs, I think I >>> checked Emacs-28.0.91 on the machine 106MB? On machine 55MB I didn't >>> run Emacs yet. >> >> The contents of the native-lisp/ directory doesn't change once Emacs >> is built. > > Really, please see below, could it be you meant perhaps the preloaded/ > folder? (Just guessing.) > >> If you cannot figure this out, compare the contents of the two >> native-lisp/ directories. > > machine 105 MB: > |- native-lisp/ > |- 28.0.91-59ee6325/ > | |- Some .eln files > | |- preloaded/ > | | 45 MB .eln > |- 28.0.91-aa40abb8/ > | Some other .eln files > |- preloaded/ > |- 45 Mb .eln files This shows native builds for two emacs versions with different native compilation hash signatures (which are used to ensure that the .eln DLLs are compatible with the emacs executable that they are loaded into). The variable `comp-native-version-dir' contains the matching name for a running emacs with native comilation support. > machine 55 MB: > |- native-lisp/ > |- 28.0.91-59ee6325/ > |- Some .eln files > |- preloaded/ > | 45 MB .eln files > > Might the differences come from multiple compilations? Yes. AndyM