From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Native Compilation And External Packages Date: Sat, 29 May 2021 10:14:43 -0700 Message-ID: References: <24754.27537.803673.706445@google.com> <83czt95wco.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28497"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 19:15:51 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 1ln2Yw-0007Dj-Ki for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 19:15:50 +0200 Original-Received: from localhost ([::1]:50328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln2Yu-0001Mc-Sd for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 13:15:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln2Xy-0000bK-IQ for emacs-devel@gnu.org; Sat, 29 May 2021 13:14:50 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:56099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln2Xw-0001hW-H1 for emacs-devel@gnu.org; Sat, 29 May 2021 13:14:50 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id kr9so4277131pjb.5 for ; Sat, 29 May 2021 10:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Vx+H/loZ9vYSAO9/C3CiKfzg99bGSFGVGMRjLKlp1YA=; b=VV0sepiVbKG3TKozFI1DQawabBItYHFhzr50pLeDBCb9J2sByWS8FMRRDav3ep2Cij eQGTU3QLRUdCM/uEh3WTLKkWT6qysK3MqC7JDi1I2p1lfx2lKOYyh4yHnRKSKlBCEbjI 2vm30nQkZE0iFdF+9n7+PWUiULO53h/PMtV8ac0u1JsK4whoEpPbsuWttvb/6yiOfIbx 38K6Awqbk7aicxSZQ9f5cU7nhTZ1Mgkm6iNGfJfhsL3LQC1qViWnWkGHIgkNVOIiT0fx c15U+Wy61sBek7RLRg/alVJckfcbVCT2q2mmHnYNxl7jNHYjLAbap33gMeIjIzoC4UwN gfzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Vx+H/loZ9vYSAO9/C3CiKfzg99bGSFGVGMRjLKlp1YA=; b=Na+dSAIE96F4tV4BgTQ3v04HjOyoaT0gSUo6RlqjSlgnW/fsvnWKg0m2CzrDWIbqQh R6VqVQ8UI3np8PmovXoCaqv17VAPRY2tT/f9RN6T9C8jQnbgFPONx96Lqyrw0qWWOBLt keKONLzMG0lB+7l9Q6SPb121aiAtm16hX1cb8Flbvg0VJxdRRobHequl0aLYtr2c2GJ1 BVdT5q+ngZilZBKAZORchDr3wjtw366DOlaFX3FRLlBGG45TrmX+HcRNv2KLq2ByyBFm E/Z5K3WC8DXRf3m2bgXGZmbYg+zepqx8EbmE4B7uzLThFopnL6C2UdmFUdld++ojs8EA wbZQ== X-Gm-Message-State: AOAM533YtOWUQKPWOHzkHaJefZb0Ht7RdPJIJU85qjS2mN8LE3OnPk4r nIhcXUJOc41IqiTRPYMnGADEzg== X-Google-Smtp-Source: ABdhPJw9yVT7E1QuQzcqsByISYGJRXV/7OW3EvyMbtG5Ies1R8aHYGoOZlXjK+UDKa8iJAQwfNnbAg== X-Received: by 2002:a17:902:7596:b029:f3:d01e:d316 with SMTP id j22-20020a1709027596b02900f3d01ed316mr13281708pll.14.1622308486334; Sat, 29 May 2021 10:14:46 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id h13sm2289438pfv.213.2021.05.29.10.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 10:14:45 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 9501EC204B9; Sat, 29 May 2021 10:14:43 -0700 (PDT) In-Reply-To: <83czt95wco.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 May 2021 19:38:15 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=raman@google.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:270076 Archived-At: Eli Zaretskii writes: The warnings are inconsistent as in: Compiling at the command line using -f batch-byte-compile produces no warnings; the same code produces warnings when native-emacs is run 2. I should have been more explicit re Make: I know about -f batch-native-compile, however writing the dependency rule is what I guess I'm confused about -- since the .eln files that result go into the eln-cache, not the directory where the .el files live. >> From: "T.V Raman" >> Date: Sat, 29 May 2021 09:28:01 -0700 >>=20 >> 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 so= lution. > > 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... --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8