emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] [WIP] Port feature/native-comp to Windows.


From: Andrea Corallo
Subject: Re: [PATCH] [WIP] Port feature/native-comp to Windows.
Date: Sat, 09 May 2020 13:42:58 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Nicolas Bertolo <address@hidden> writes:

> Hello emacs-devel
>
>  
>
> I have ported the feature/native-comp branch to Windows. I have
> tested my changes in Windows 10 x64 with Mingw64 GCC 10.0. Other
> architectures or compilers should work, but it may be necessary to
> adjust the code a little bit.

Yes, I guess we'll certanly have a run of tests on all configurations
that are now working.  These are parts of code quite sensitive and I
expect too some adjustment is likely to be required.

> I would like to thank the author of this blogpost which was very
> helpful for me: http://www.albertzhou.net/blog/2020/01/
> emacs-native-comp.html

I get a 404 now but IIRC he had to hack libgccjit too.  Did you had to
modify that too or just works OOTB in Mingw64?

> I have thought about a simple fix to this but I haven’t implemented
> it yet. The Emacs process that needs to run in a Mingw64 environment
> is actually the subprocess that performs the compilation, not the
> main process that runs the editor. So my idea is to run this
> subprocess through a small script that setups the environment that
> libgccjit expects without polluting the Emacs environment.

Mmmh the .eln do not link against any library so I guess if the shared
libraries produced from the Mingw64 env are usable outside it should
work (I'm totally ignorant on windows related subject).

Very cool

  Andrea

-- 
address@hidden



reply via email to

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