emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed


From: H. Dieter Wilhelm
Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
Date: Tue, 01 Feb 2022 20:26:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Hello Óscar

Óscar Fuentes <ofv@wanadoo.es> writes:

> "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> 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 = out.splitlines()
>>       rtn = []
>>       for dep in deps:
>>           ## Output looks something like this
>>
>>           ## KERNEL32.dll => C:\Windows\SYSTEM32\KERNEL32.dll 
>> (0x0000000002a30000)
>>           ## libwinpthread-1.dll => 
>> C:\msys64\mingw64\bin\libwinpthread-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 = 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
-- 
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]