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.devel Subject: Re: Native Compilation And External Packages Date: Sat, 29 May 2021 19:38:15 +0300 Message-ID: <83czt95wco.fsf@gnu.org> References: <24754.27537.803673.706445@google.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15634"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 18:38:38 2021 Return-path: Envelope-to: ged-emacs-devel@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 1ln1yw-0003wy-Fg for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 18:38:38 +0200 Original-Received: from localhost ([::1]:58416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln1yv-0001t1-40 for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 12:38:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln1yS-0001Ez-Pd for emacs-devel@gnu.org; Sat, 29 May 2021 12:38:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47014) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln1yS-0001yw-Hp; Sat, 29 May 2021 12:38:08 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1869 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln1yS-000791-4f; Sat, 29 May 2021 12:38:08 -0400 In-Reply-To: <24754.27537.803673.706445@google.com> (raman@google.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270071 Archived-At: > From: "T.V Raman" > Date: Sat, 29 May 2021 09:28:01 -0700 > > Q: How does one write a Makefile rule for native compilation of .el > files in a 3rd party (external) package? Use something like emacs -batch -l comp -f batch-native-compile FOO.el > 2. Would also be nice if warnings from byte-compilation could be > consistent with native-compilation -- I'd be happy with either solution. In what sense are they inconsistent now? They come from byte-compilation, AFAIU, so they are the same warnings you are used to while byte-compiling...