From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] [WIP] Port feature/native-comp to Windows. Date: Mon, 11 May 2020 16:43:43 +0000 Message-ID: References: <5eb5b953.1c69fb81.a67ce.a764@mx.google.com> <83lfm1hc91.fsf@gnu.org> <83wo5lds87.fsf@gnu.org> <83lflzd8es.fsf@gnu.org> <83ftc7d4zu.fsf@gnu.org> <83blmvd2if.fsf@gnu.org> <833686d08r.fsf@gnu.org> <83eerqbg22.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="126141"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Nicolas =?utf-8?Q?B=C3=A9rtolo?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 11 18:44:26 2020 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 1jYBXV-000WgN-AQ for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 18:44:25 +0200 Original-Received: from localhost ([::1]:51238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYBXU-0000UB-Cz for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 12:44:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYBWy-0008Tv-69 for emacs-devel@gnu.org; Mon, 11 May 2020 12:43:52 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:56063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYBWw-0003Tg-C0; Mon, 11 May 2020 12:43:51 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 04BGhhJn026675 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 11 May 2020 16:43:43 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 04BGhhhu022523; Mon, 11 May 2020 16:43:43 GMT In-Reply-To: <83eerqbg22.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 11 May 2020 19:19:01 +0300") Received-SPF: pass client-ip=205.166.94.20; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/11 12:43:44 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:249824 Archived-At: Eli Zaretskii writes: >> From: Nicolas B=C3=A9rtolo >> Date: Mon, 11 May 2020 12:20:36 -0300 >> Cc: Andrea Corallo , emacs-devel@gnu.org >>=20 >> > I don't think it would be wise for us to distribute libgccjit, because >> > then we'd need to distribute the GCC sources, and the user will be >> > unable to reliably use the shipped libgccjit with their local GCC >> > installation (due to possible version mismatch). >>=20 >> IMHO that is really inconvenient from the point of view of a user that j= ust >> wants to install Emacs and use all its features. > > Not "all" of its features, just one. > > And yes, this is an inconvenience, but it isn't specific to > MS-Windows. AFAIK, Posix systems nowadays come without a compiler > preinstalled, and you need to install it if you want that. > > This is a price to pay for compiling to native code using an external > compiler. there's no way around this, I think. People who cannot > afford installing a working compiler and Binutils will have to give up > compiling Lisp files to native code (the Lisp files that come with > Emacs can still be provided as *.eln, I would hope). Correct, we do not rely on libgccjit for the load machinery so it is possible. I imagine distros could compile and distribute .elns and still do not hard require libgccjit installed. --=20 akrl@sdf.org