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: Tue, 01 Feb 2022 20:26:02 +0100 Message-ID: <867daev16d.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> <86sft4c3ij.fsf@gnu.org> <86sft4xjeo.fsf@gnu.org> <86iltzx5fy.fsf@duenenhof-wilhelm.de> <864k5iwyaa.fsf@duenenhof-wilhelm.de> <87pmo61u86.fsf@telefonica.net> 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="18899"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 02 01:28:45 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 1nF3Vs-0004gF-KQ for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Feb 2022 01:28:44 +0100 Original-Received: from localhost ([::1]:37634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF3Vr-000094-CB for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Feb 2022 19:28:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEyn3-00075K-29 for emacs-devel@gnu.org; Tue, 01 Feb 2022 14:26:09 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.130]:37933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEymz-0001YA-62 for emacs-devel@gnu.org; Tue, 01 Feb 2022 14:26:08 -0500 Original-Received: from ping ([92.116.182.145]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MryKr-1mTKFL3xn3-00nz4p; Tue, 01 Feb 2022 20:26:03 +0100 In-Reply-To: <87pmo61u86.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Tue, 01 Feb 2022 16:28:57 +0100") X-Provags-ID: V03:K1:xj/XQDuFTDXSm9qWbmDpsHTVWaiuZUipTCiSNkfUUIddU/zTo7d SADX2g1EpuSb7DoumoWhDRpRcsWBeTG1BeXKH7YWTEeKPZ4Ks/ouiCjsqveCfsoZpI0nmW+ jwWjJE6A8SPXEynucsN/YSFLWUTtcwVzD233SK9r69SLilcLUnGNWqVhAMqoKI+gruh89Mw T5OPejTQ+/Dx7w/jesAUA== X-UI-Out-Filterresults: notjunk:1;V03:K0:82wasl1bTGY=:/18+NYwd9kzjjIwQtWm0kH 04gdkqlcbTMhzpRuj2djKP2Mitzt7zrTnzBi6H3EiD/kzzJBNqbC45eUZIS+EB38bAWIgcq2i dioUARHIrQc3B1UyHybjCs5bUUMRFstnv69Q8uAVqzDImICaXmQffEmsq3HydRPcW1WfvjJER kGnMvq5ekDu/vEPwzassdQFuoIq2HZnTWvBe/9dqmbxI/fpxeHSO1KsGBLQKUhmBNIiv66La9 btn5LPfaGZwl+QsyVsOPcF+NYvs5IQSV+ErYMyqUeFbDrnM8mIS73SPUdr6gDKOsj/L9y9xhx KQv5Liqz7NZxwW4KszKgCLThhcZizHAy/hBsbV1dbmec3esY3c02ZubwrUaOZ1YtWR32UfATT P2xlDnJaYjCAPV1dwUMzyEq3ugDS8YLX0cEm1+gemjs1TFcDbPIb77H3Z/qg8E37nTUXE20do 0SU86v3h2RjlHKu3SK3UVwInwRk88gpuMpV+Xs5Sxk8URUafblcg0tmRmARDxen6BebTOqOre vmRkMiuHSo+E5VD4cKABBqC+1xLqGZNe0cV1kMp0I1o4PdEZJAh2qjWygB/QPSomDa2jB4t5Q s4nnMrLo+29Zav/7k2xIxtMMeo0P1f0RPghTS+cRBeUWqpVlUXctAiNQctV1JjQtv8UVbi4xp WwujbtStiO9tpKML5gHUV0xQceMZGa/OJH7dnRaW/MSjc0fesMre3iOEuMLCLvFjeRtRDE8zv sLARgb3CknqCQJjd Received-SPF: none client-ip=212.227.126.130; 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:285753 Archived-At: Hello =C3=93scar =C3=93scar Fuentes writes: > "H. Dieter Wilhelm" writes: > >> I realised that ntldd.exe doesn't show any msys/mingw dependencies at >> all, only Windows stuff! -> So I removed all Windows references from >> PATH. (Don't ask me why ntldd searches Windows paths first.) > > Are you saying that you have dlls with the same name under /mingw64 and > /Windows ? I don't know, I haven't looked at it in this way, just realised that there were many Window system DLLs . I'll send you a sample, if you want to see it with your own eyes.. (I'm sorry I'm answering this with another computer.) >> Then, it seem's, that the msys/mingw people changed the tree layout of >> their files! > > No, we didn't. Good! Then perhaps I, and probably Corwin as well, were installing mingw/msys in another way as Phillip Lord did. I will check nt/README.W64 how the installation process is recommended. >> When I'm changing "msys64" with "mingw64" in >> build-dep-zips.py: >> >> def ntldd_munge(out): >> deps =3D out.splitlines() >> rtn =3D [] >> for dep in deps: >> ## Output looks something like this >> >> ## KERNEL32.dll =3D> C:\Windows\SYSTEM32\KERNEL32.dll (0x00000= 00002a30000) >> ## libwinpthread-1.dll =3D> C:\msys64\mingw64\bin\libwinpthrea= d-1.dll (0x0000000000090000) >> >> ## if it's the former, we want it, if its the later we don't > > The comment above seems reversed. Yes :-) >> splt =3D dep.split() >> ## if len(splt) > 2 and "msys64" in splt[2]: >> if len(splt) > 2 and "mingw64" in splt[2]: >> print("Adding dep", splt[0]) >> rtn.append(splt[0].split(".")[0]) >> >> return rtn >> >> It copies much more DLLs to the deps folder. :-) > > Probably your MSYS2 install is not in a directory named "msys64" (the yes, it's just mingw64. > "in" operator in Python is case-sensitive, isn't it?) Ehem, I'm not so versed in Python but I'll check. Thank you Dieter --=20 Best wishes H. Dieter Wilhelm Zwingenberg, Germany