From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: [External] : Re: Native compilation Date: Fri, 31 Dec 2021 14:08:49 +0100 Message-ID: <87lf00ncpq.fsf@zoho.eu> References: <875yr5up38.fsf@zoho.eu> <83k0flge7s.fsf@gnu.org> <87tuept0qc.fsf@zoho.eu> <83ee5tgcwv.fsf@gnu.org> <87mtkhszcp.fsf@zoho.eu> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4340"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:JF0sIGXT1Pjh+hUX8IdJCgX7y0I= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 31 14:33:34 2021 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 1n3I2I-0000wg-00 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Dec 2021 14:33:34 +0100 Original-Received: from localhost ([::1]:45906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3I2G-0005sP-Qa for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Dec 2021 08:33:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3HfZ-0007CP-Vo for help-gnu-emacs@gnu.org; Fri, 31 Dec 2021 08:10:06 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:37438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3HfY-0001Om-2U for help-gnu-emacs@gnu.org; Fri, 31 Dec 2021 08:10:05 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n3HfW-0004jm-Bt for help-gnu-emacs@gnu.org; Fri, 31 Dec 2021 14:10:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never 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: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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:135085 Archived-At: Now `system-configuration-options' says "--with-x-toolkit=no --with-native-compilation" as well. That settles it I guess. Only what does this mean? Warning (comp): Cannot look-up eln file as no source file was found for /home/incal/.emacs.elc And do I get native code with the same way using the byte-compiler? As in this? # this file: # https://dataswamp.org/~incal/emacs-init/Makefile emacs = /usr/local/bin/emacs init-file = ${HOME}/.emacs init-file-elc = $(init-file).elc emacs-dir = ${HOME}/.emacs.d ema-path = $(emacs-dir)/emacs-init ema-bibtex = $(ema-path)/bibtex ema-erc = $(ema-path)/erc ema-gnus = $(ema-path)/gnus ema-ide = $(ema-path)/ide ema-w3m = $(ema-path)/w3m ema = \"$(ema-erc)\" \ \"$(ema-bibtex)\" \ \"$(ema-gnus)\" \ \"$(ema-ide)\" \ \"$(ema-path)\" \ \"$(ema-w3m)\" elpa-path = $(emacs-dir)/elpa crontab-mode = $(elpa-path)/crontab-mode-20210715.133 gnuplot-mode = $(elpa-path)/gnuplot-mode-20171013.1616 google-translate = $(elpa-path)/google-translate-20210406.1138 lua-mode = $(elpa-path)/lua-mode-20210809.1320 markdown-mode = $(elpa-path)/markdown-mode-20211022.55 seq = $(elpa-path)/seq-2.23 sml-mode = $(elpa-path)/sml-mode-6.10 w3m = $(elpa-path)/w3m-20211122.335 elpa = \"$(crontab-mode)\" \ \"$(gnuplot-mode)\" \ \"$(google-translate)\" \ \"$(lua-mode)\" \ \"$(markdown-mode)\" \ \"$(seq)\" \ \"$(sml-mode)\" \ \"$(w3m)\" \ packs = $(elpa) $(ema) el-files = $(shell zsh -c "ls -1 **/*.el") elc-files = $(el-files:.el=.elc) sed-filter = 2>&1 | sed '/^\(Loading\|Wrote\)/d' byte-compile = $(emacs) \ --batch \ --eval "(setq load-path (append load-path '($(packs)))))" \ -f batch-byte-compile all: $(elc-files) $(init-file-elc) $(init-file-elc): $(init-file) $(byte-compile) $< $(sed-filter) %.elc: %.el $(byte-compile) $< $(sed-filter) clean: $(shell zsh -c "rm -rf **/*.elc(N)") rm -f $(init-file-elc) again: ${MAKE} clean ${MAKE} all test: echo $(byte-compile) -- underground experts united https://dataswamp.org/~incal