From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Wed, 09 Feb 2022 19:23:17 +0100 Message-ID: <865ypnsxuy.fsf@duenenhof-wilhelm.de> References: <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <83o848tc92.fsf@gnu.org> <86o8473k13.fsf@duenenhof-wilhelm.de> <83ee53ssbx.fsf@gnu.org> <86pmo6v741.fsf@duenenhof-wilhelm.de> <83r18m79t9.fsf@gnu.org> <874k5gapec.fsf@russet.org.uk> <86mtj3syg3.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Phillip Lord , Eli Zaretskii , Corwin Brust , chad , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 09 20:03:42 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 1nHsFi-0006wq-NR for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 20:03:42 +0100 Original-Received: from localhost ([::1]:39644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHsFh-00040W-0W for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 14:03:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHrcp-0002oi-Qb for emacs-devel@gnu.org; Wed, 09 Feb 2022 13:23:31 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.73]:48233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHrcn-0000QA-HR; Wed, 09 Feb 2022 13:23:31 -0500 Original-Received: from ping ([92.116.145.35]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mg6uW-1nxGe10riY-00he7H; Wed, 09 Feb 2022 19:23:19 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 07 Feb 2022 07:54:54 -0500") X-Provags-ID: V03:K1:zTuL5u2TOpZfEAa1kGewiTzXnAdAGd06DnOA7cyiUn2/vZsNLlk V0BnVbkaAnz+ldgU4jU74q4CTz54FpqSMpm4rdfWIXXrs7Zy3LnH1KxcO8oclP7KPvCY5S1 2uLBAPRvx1VHZtPxZhyE8go4j5o+ZuoZIoWnEa5m2vTxWhyeytn5jd3yFRAIwyY+W/uVUBb D3OO0HAbY3jhHyJ6U5R/g== X-UI-Out-Filterresults: notjunk:1;V03:K0:BWo3fVlcDmI=:QJIXmGlwKKlQIs5Y9+mTjS dTQq4hZ+UacPvdwrc+icu2MzQ2Nav8xw+ISE5uryIa+Bm+GdXxD+uYvQDQRS53HHlVr9pvzKQ twq6j4mr3JvKgWFV2Y30NB8uvnOklQa25IBKRfWYg7eizljneOsXK7r4PovYCVtcFKbXXn4Fg EzMMsQwe35yYhSI8hfIyAoUAw99CrvnnDopSGack2CkPQvFtwUxXG00rtxudbHs3KDK1t+OBb AcIx7F4jY/jhZbND+7nBM0F5KCOhCW8x7Er0fkGr6PSXwoxxOSsSSDmHNB1sAEhzvjaWyuRhS z3xxgguMsMuZS/GSrjDhtIvI7BoaeyM/nzXRbmAthY6OMTD8cA4k/PJfblRfqz1xWI3E8IWSf Vi3HPyp+rcHALBlaBgNLoTcHQ4q8zDTxOpNjfAIizQYqSmKm9eYakJDxbGceSZxXH0ZZkje6o iPIVlIitYL4FkGX3riWSTttfL2ihFnPu3QI2F/8fME5pNcqeCikmEdSEoql8dLoixb/hinQJ2 vIJMBZJAbsJzUN+w31I4oBYgMRMmBoMqHFB3CfFojjKjxJ1IVP5HFCIWBzwG8/6hE5FHebKi9 Gs4HhmTR9gaMV/TKLM3vMlCXWa+1JohD3HWdkrGKr4/KDh/4VZf3Nk25vVs7R+slzKKBAX2Tl aAbCVcGOiOPFmY/Op8TCDw5FuWgpD7PIwOQNadrZ2zFeOlujnhZ6ZgcCJ50rrdS2uEecUXVMW Mt5lnrxLK2AXf7cn Received-SPF: none client-ip=217.72.192.73; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:286109 Archived-At: Stefan Monnier writes: >> From a cursory glance I can't see code which might be restricted to >> Windows or "w32" systems, except the naming. Just ran the tests of >> w32-features.el on: > [...] >> Please tell me what else do you expect from w32-feature.el, maybe >> extensive build information for any platform? :-) > > Something like that, yes. But mostly change the output such that > missing features (or different compilation options) aren't all displayed > as scary test errors but with a more informational tone, I guess. >From the old thread and your remarks it seems to me that this "feature" library should fulfil two aims: Testing features when building Emacs distros (especially under Windows) and providing information for users without the complete source tree. I took up the idea from Alan Third and completed some missing "standard" features (from nt/INSTALL.W64): (defun insert-feature (description test) (indent-to 2) (insert (if test "=E2=9C=94" "=E2=9C=96")) (indent-to 5) (insert description) (insert "\n")) ;; feature list from nt/INSTALL.W64=20 (defun list-features () (interactive) (switch-to-buffer (get-buffer-create "*Features*")) (read-only-mode -1) (erase-buffer) (insert "Standard Emacs Features:\n") ;; harfbuzz (insert-feature "Harfbuzz - text shaping library " (eq 'harfbuzz=20 (car (frame-parameter nil 'font-backend)))) ;; zlib (insert-feature "Zlib - compression library" (zlib-available-p)) ;; libxml (insert-feature "xml2 - parser library" (libxml-available-p)) ;; lcms lcms2-available-p (insert-feature "lcms2 - color translator library" (image-type-availabl= e-p 'pbm)) (insert-feature "JSON - data exchange library" (progn (require 'json) (fboundp 'json-serialize))) (insert-feature "GNUTLS - secure communication library" (gnutls-availab= le-p)) (insert-feature "pbm - image library" (image-type-available-p 'pbm)) (insert-feature "xpm - image library" (image-type-available-p 'xpm)) (insert-feature "bmp - image library" (image-type-available-p 'bmp)) (insert-feature "gif - image library" (image-type-available-p 'gif)) (insert-feature "png - image library" (image-type-available-p 'png)) (insert-feature "xpm - image library" (image-type-available-p 'xpm)) (insert-feature "jpeg - image library" (image-type-available-p 'jpeg)) (insert-feature "tiff - image library" (image-type-available-p 'tiff)) (insert-feature "svg - image library" (image-type-available-p 'svg)) (insert-feature "native images" (image-type-available-p 'native-image)) ;; what are native images? ;; jansson =3D json? ;; thread support? ;; modules ;; gmp <- gnutls (read-only-mode 1)) What do you think? By the way, please tell me what are native images? --=20 Dieter =20=20=20 Best wishes H. Dieter Wilhelm Zwingenberg, Germany