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: [ELPA] New package xeft.el Date: Tue, 17 Jan 2023 13:53:30 +0200 Message-ID: <8335894bt1.fsf@gnu.org> References: <64A01ADD-E757-40F5-A5C3-518BB8BE9A41@gmail.com> <659E0780-5694-4B43-9845-AF1C0E2F7ECE@gmail.com> <87358eqx03.fsf@web.de> <878ri2q5ep.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1429"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arne_bab@web.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 17 12:54:24 2023 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 1pHkXn-0000EY-Hm for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Jan 2023 12:54:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHkWw-0007io-C5; Tue, 17 Jan 2023 06:53:30 -0500 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 1pHkWt-0007iJ-3i for emacs-devel@gnu.org; Tue, 17 Jan 2023 06:53:27 -0500 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 1pHkWs-0007dj-Pi; Tue, 17 Jan 2023 06:53:26 -0500 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=Ehx1jAwuqWCgEgXUCEBj6Y2vCsYsgB4qbgq/FpfK5Fk=; b=ShqXCNeRJd1n +9LowZQdT+VTQt5h9gahRAVjwLGSjCK4U7j3duaQgjx+T6zrfDFCfLj471BRLJZ2mUXSERu9TYt6/ xoQDey9uaItKtrj2W9+qsVmPr5dQaMt4yL8+QLFKU8g0WHvuiL8E2V3Sew0DIxN4nrN7RcVDus2Fw 9rH/oDx4uqewFUIJE1ZRmxl3mO0o9Qnn+Q/Dn50lNNXHooH2UZBhBudeh6MCTyvSw9QTU/bmuDc54 /frqiqrtUPP2YAuas19Vt+Tr106jyupAUx0DaSPr4x5vb7+Zxk53yG9u6LwbcJCQmDXzODuWI0M3G 8IH45GMLwu8VsJktVTk2wA==; Original-Received: from [87.69.77.57] (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 1pHkWl-0006If-BH; Tue, 17 Jan 2023 06:53:19 -0500 In-Reply-To: (message from Richard Stallman on Mon, 16 Jan 2023 23:57:58 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302475 Archived-At: > From: Richard Stallman > Cc: emacs-devel@gnu.org > Date: Mon, 16 Jan 2023 23:57:58 -0500 > > > Usually a package is either native-compiled on first usage or directly > > on installation. > > Are you sure? Nothing gets native-compiled automatically for me, > and that's the way I want it. I don't use native compilation. What does the below produce in your Emacs? M-: (string-match-p "NATIVE_COMP" system-configuration-features) RET If it produces nil, it means your build doesn't have native-compilation available, which is why you don't see Lisp packages native-compiled when loaded for the first time (a.k.a. "JIT"). > Is it possible that you're talking about behavior that you have > specifically enabled, and does not happen by default? The build needs to be with native-compilation, and then it is automatic. Usually, just installing libgccjit (part of the GCC suite, perhaps an optional part) and rebuilding Emacs is enough, assuming you have GCC and Binutils.