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 on Windows, was Re: Bootstrap Compilation Speed Date: Sun, 16 Jan 2022 10:54:08 +0200 Message-ID: <83a6fwysb3.fsf@gnu.org> References: <86wnj18f7w.fsf@duenenhof-wilhelm.de> <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1462"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dieter@duenenhof-wilhelm.de, corwin@bru.st, emacs-devel@gnu.org To: phillip.lord@russet.org.uk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 16 09:55:27 2022 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 1n91Jv-0000HH-0Q for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 09:55:27 +0100 Original-Received: from localhost ([::1]:54242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n91Jt-0000VN-FA for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 03:55:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n91Iu-0008F2-Cu for emacs-devel@gnu.org; Sun, 16 Jan 2022 03:54:24 -0500 Original-Received: from [2001:470:142:3::e] (port=44786 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n91It-0003WH-7P; Sun, 16 Jan 2022 03:54:23 -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=qa/KVkFADuXmCpT1GxEhmhnEVtpYfvnwEwD2+D6VzF0=; b=l2XJuPOHfd5Z 9t7x1Ldj435Y7OfguKjtXYRQFvA7Ge7lmnP73hD0Vig0kKjwx7Mb6VTxgEa+xDoAvAFBaesDVpPcK 9k74ZR2HTQ+GAIApBFKMjbWQZ+7ucqgBsyxKa9KbpR+WhlH2qoSmE+I0GfR1+Wp8SxxpvXJdoE07h /7+NtyHYQUvWYfxF8ko2c11GgjQxgDSj83vq1Z6uTFRp5jFj70qSUFrijL1HWNZG8SqSyhD3DFbge nXHptdbXIBgJQa1JCGNGu6s6hEoWqr5QlEtVLZFESV/bo9nOXCSfB09my9nJ31ky1Ms2vflkn9hA3 ldxYwCDnjFj5v8iEuXRssw==; Original-Received: from [87.69.77.57] (port=2949 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 1n91Ir-0003fh-Rr; Sun, 16 Jan 2022 03:54:22 -0500 In-Reply-To: (phillip.lord@russet.org.uk) 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" Xref: news.gmane.io gmane.emacs.devel:284802 Archived-At: > Date: Sat, 15 Jan 2022 22:14:56 +0000 > From: phillip.lord@russet.org.uk > Cc: Corwin Brust , Emacs developers > > The problem is that native comp needs libgccjit at compile time but > also at runtime. To make an executable install package like we have > at the moment essentially means packaging libgccjit. Which means gcc > and half of the msys2 toolchain. We made a point of implementing native-compilation on MS-Windows in a way that doesn't require such extreme measures. Emacs built with native-compilation support should be able to run on a Windows system without GCC and Binutils installed, it just won't be able to natively-compile any new or modified Lisp files. It will use the *.elc files instead. Or at least that is the theory.