From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Wed, 19 Jan 2022 18:33:11 +0000 Message-ID: <87a6frtw2g.fsf@russet.org.uk> References: <86wnj18f7w.fsf@duenenhof-wilhelm.de> <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> <83h7a4zu89.fsf@gnu.org> <86czks94vl.fsf@duenenhof-wilhelm.de> <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5366"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: "H. Dieter Wilhelm" , Eli Zaretskii , Emacs developers To: Corwin Brust Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 19 19:34:25 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 1nAFmq-0001Db-AH for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Jan 2022 19:34:24 +0100 Original-Received: from localhost ([::1]:53664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAFmp-0005qF-BD for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Jan 2022 13:34:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFlt-00058J-Ca for emacs-devel@gnu.org; Wed, 19 Jan 2022 13:33:25 -0500 Original-Received: from [78.129.138.227] (port=41311 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFlq-0007ip-0Y; Wed, 19 Jan 2022 13:33:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=faIIMyRT/jXc+l1gbmcJFxbCI4XQv8Wka2TDDDfJT/I=; b=g9e0n0/cATe4dxalavigTq2KJM FB1zSkkyVgsYgA0JHakaHwSgTPElXhJjzF5NjO++zYO2zJSI9VjXBD0VaXcMKnCGt5u3am6X2+0Nf sF28enkG1/NSZIDDCKiUr/VWDprc6Nx6Ii1YgCqRD0xo21hdJfeDq5GYjhoPugYVwolQrqFEudfqY +S5JzkcZdWo00reZ7be/ekg3gZKpmX7dBs3j/w3bhv/yQ75Cw6kDmv/eP2XoPyLw5BsrYC7LO/kXC cgidjSrS3k+smQgIoIVu+as1044n8x3NaW/2Y+WIlUo6IEJWq8rq+4t9peq3aU4BMlDQVGyVm7QGk 8Bvxn/Yw==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:33984 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nAFlj-00016R-AK; Wed, 19 Jan 2022 18:33:12 +0000 In-Reply-To: (Corwin Brust's message of "Tue, 18 Jan 2022 18:02:21 -0600") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.129.138.227 (failed) Received-SPF: pass client-ip=78.129.138.227; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:284999 Archived-At: Corwin Brust writes: > On Tue, Jan 18, 2022 at 3:36 PM H. Dieter Wilhelm > wrote: >> Unfortunately this build didn't work on another Windows computer. It >> seems that there are not yet all necessary dependencies in the distro >> archive (for example libgmp-10.dll is missing). I hope Corwin can bring >> some light into the build system. > > We shall see >:-] > > I was able make ./build-deps.zip create a version that (appears as if > it) supports native-comp. > > New versions are uploaded to my same Sourcehut repo in a new folder > called "with-native-compilation": > > https://git.sr.ht/~mplscorwin/emacs-w64/tree/master/item/with-native-compilation > > I'd be quite interested to learn how these work (or don't) for others. In case you haven't see it, there in etc/w32-features.el there are a set of tests for various features. It's in etc/w32-features.el rather than the normal test location so that it is present in the windows binary release. It's a nice way to check whether the build has worked (I use .emacs on my test machine to automatically load it). Anyway, you might want to add a test for native comp working to there. It will make your life easier! Phil