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: Thu, 03 Feb 2022 08:10:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (windows-nt)

Ahoy Corwin

Corwin Brust <corwin@bru.st> writes:

> On Tue, Feb 1, 2022 at 6:45 AM H. Dieter Wilhelm
> <dieter@duenenhof-wilhelm.de> wrote:
>>
>> 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.)
>>
>> Then, it seem's, that the msys/mingw people changed the tree layout of
>> their files!  When I'm changing "msys64" with "mingw64" in
>> build-dep-zips.py:

Óscar Fuentes said there were no changes in the layout lately, I assume
we just installed MSYS/MinGW differently as Phil did.  (I'm going to
learn what is recommended as the default path for MSYS/MinGW in
INSTALL.W64)

> [snip]
>>           ## if len(splt) > 2 and "msys64" in splt[2]:
>>           if len(splt) > 2 and "mingw64" in splt[2]:
>
> With this, we are much closer.   New set is uploaded to the
> with-native-compilation folder in the usual Not Sure If We Are Ready
> For Prime Time location[1].

Thanks, I had a look.  Before I forget - just in case - only stuff in
"with-native-compilation" is updated!  But I guess you'll upload only
"with-native-compilation" anyway. :-)

> This version has 62 DLLs as were listed in the txt file attached to my
> recent reply to to Phil in this same thread.  I still need to review
> those against the 77 you reported from 27.2 but that's not going to be
> tonight.

Please see in the attached file a comparison of Arash Esbati's (thanks
again), mine and your list of DLLs.  And it looks reasonable to me. 

I'm afraid we can't compare 27.2 builds from Phil's setup one on 1 with
our 28 builds.

> Meanwhile, I tested these (using the zip with deps version) on kiddos
> gaming rig and verified that the tests from w32-feature pass,
> package-refresh-package works, and various types of image load.  I
> also checked with ProcessExplorer that I'm not loading DLLs except
> those provided with the dist and those under some windows/system path.

Very good, thank you kiddos! :-)

> As an interesting aside:  I see that it *is* loading the natively
> compiled sources that were build and packaged with Emacs.  This is
> despite getting a nil return from `native-comp-avialable-p', which
> suggests that even people without a local libgccjit+gcc (e.g. a
> working MSYS) can benefit from (the bundled) nativly compiled sources
> we distribute.  [[stroking chin myscheviously]]

As far as I understood, this is exactly what Eli hoped for.

Such systems can't natively compile stuff but benefit from available
.eln files. :-)

> Please let me know if you think these are ready to push to alpha.

Please push.

Except others, with more experience, want to chime in..

> Attached are dffs for admin/nt/dist-build thus far.

They are looking good

(.. I don't comprehend the -static issue, yet.  But don't mind.)

> [1] https://git.sr.ht/~mplscorwin/emacs-w64

(... and then please go to the folder "with-native-compilation")

Arash                              Dieter                          Corwin
                                                                                
                        
libbrotlicommon.dll                libbrotlicommon.dll             libLerc.dll  
                                            
libbrotlidec.dll                   libbrotlidec.dll                
libXpm-noX4.dll                              
libbz2-1.dll                       libbz2-1.dll                    
libbrotlicommon.dll                  
libcairo-2.dll                     libcairo-2.dll                  
libbrotlidec.dll                     
libcairo-gobject-2.dll             libcairo-gobject-2.dll          libbz2-1.dll 
                        
libdatrie-1.dll                    libdatrie-1.dll                 
libcairo-2.dll                                
libdeflate.dll                     libdeflate.dll                  
libcairo-gobject-2.dll                        
libexpat-1.dll                     libexpat-1.dll                  
libdatrie-1.dll                               
libffi-7.dll                       libffi-7.dll                    
libdeflate.dll                                
libfontconfig-1.dll                libfontconfig-1.dll             
libexpat-1.dll                                
libfreetype-6.dll                  libfreetype-6.dll               libffi-7.dll 
                        
libfribidi-0.dll                   libfribidi-0.dll                
libfontconfig-1.dll                  
libgcc_s_seh-1.dll                 libgcc_s_seh-1.dll              
libfreetype-6.dll                    
libgdk_pixbuf-2.0-0.dll            libgdk_pixbuf-2.0-0.dll         
libfribidi-0.dll                     
libgif-7.dll                       libgif-7.dll                    
libgcc_s_seh-1.dll                   
libgio-2.0-0.dll                   libgio-2.0-0.dll                
libgdk_pixbuf-2.0-0.dll                       
libglib-2.0-0.dll                  libglib-2.0-0.dll               libgif-7.dll 
                        
libgmodule-2.0-0.dll               libgmodule-2.0-0.dll            
libgio-2.0-0.dll                     
libgmp-10.dll                      libgmp-10.dll                   
libglib-2.0-0.dll                    
libgnutls-30.dll                   libgnutls-30.dll                
libgmodule-2.0-0.dll                 
libgobject-2.0-0.dll               libgnutlsxx-28.dll              
libgmp-10.dll                                 
libgraphite2.dll                   libgobject-2.0-0.dll            
libgmpxx-4.dll                               
libharfbuzz-0.dll                  libgraphite2.dll                
libgnutls-30.dll                     
libhogweed-6.dll                   libharfbuzz-0.dll               
libgnutls-openssl-27.dll             
libiconv-2.dll                     libharfbuzz-gobject-0.dll       
libgnutlsxx-28.dll                   
libidn2-0.dll                      libharfbuzz-icu-0.dll           
libgobject-2.0-0.dll                 
libintl-8.dll                      libharfbuzz-subset-0.dll        
libgraphite2.dll                     
libjansson-4.dll                   libhogweed-6.dll                
libharfbuzz-0.dll                     
libjbig-0.dll                      libiconv-2.dll                  
libharfbuzz-gobject-0.dll            
libjpeg-8.dll                      libicudt68.dll                  
libharfbuzz-icu-0.dll                        
liblcms2-2.dll                     libicuuc68.dll                  
libharfbuzz-subset-0.dll              
libLerc.dll                        libidn2-0.dll                   
libhogweed-6.dll                      
liblzma-5.dll                      libintl-8.dll                   
libiconv-2.dll                                
libnettle-8.dll                    libjansson-4.dll                
libidn2-0.dll                                 
libp11-kit-0.dll                   libjbig-0.dll                   
libintl-8.dll                                 
libpango-1.0-0.dll                 libjpeg-8.dll                   
libjansson-4.dll                     
libpangocairo-1.0-0.dll            liblcms2-2.dll                  
libjbig-0.dll                                 
libpangoft2-1.0-0.dll              liblzma-5.dll                   
libjpeg-8.dll                                 
libpangowin32-1.0-0.dll            libnettle-8.dll                 
liblcms2-2.dll                                
libpcre-1.dll                      libp11-kit-0.dll                
liblzma-5.dll                                 
libpixman-1-0.dll                  libpango-1.0-0.dll              
libnettle-8.dll                               
libpng16-16.dll                    libpangocairo-1.0-0.dll         
libp11-kit-0.dll                     
librsvg-2-2.dll                    libpangoft2-1.0-0.dll           
libpango-1.0-0.dll                   
libsqlite3-0.dll                   libpangowin32-1.0-0.dll         
libpangocairo-1.0-0.dll                       
libstdc++-6.dll                    libpcre-1.dll                   
libpangoft2-1.0-0.dll                         
libtasn1-6.dll                     libpixman-1-0.dll               
libpangowin32-1.0-0.dll                       
libthai-0.dll                      libpng16-16.dll                 
libpcre-1.dll                                 
libtiff-5.dll                      librsvg-2-2.dll                 
libpixman-1-0.dll                    
libunistring-2.dll                 libstdc++-6.dll                 
libpng16-16.dll                               
libwebp-7.dll                      libtasn1-6.dll                  
librsvg-2-2.dll                               
libwinpthread-1.dll                libthai-0.dll                   
libstdc++-6.dll                               
libxml2-2.dll                      libtiff-5.dll                   
libtasn1-6.dll                                
libXpm-noX4.dll                    libtiffxx-5.dll                 
libthai-0.dll                                 
libzstd.dll                        libturbojpeg.dll                
libtiff-5.dll                                 
zlib1.dll                          libunistring-2.dll              
libtiffxx-5.dll                               
                                   libwebp-7.dll                   
libturbojpeg.dll                     
                                   libwinpthread-1.dll             
libunistring-2.dll                   
                                   libxml2-2.dll                   
libwebp-7.dll                                 
                                   libzstd.dll                     
libwinpthread-1.dll                  
                                   zlib1.dll                       
libxml2-2.dll                                 
                                                                   libzstd.dll  
                        
                                                                   zlib1.dll    
                           































































--

        Dieter

reply via email to

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