-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to build it under windows? #445
Comments
I think it depends on which features you want to use. I remember that @DavidDeSimone has tried to make the javascript feature work but I think it turned out to be complicated, as far as I remember. The webrender feature probably also doesn't work on windows. But I actually didn't try it ;) |
i'll search for his posts. anyway, is there some preferred build system (mingw, cygwin, msvc) to try? |
No idea, I only use windows for occasional gaming. |
I'll dig up the post in a second - the crux of the issue is that we use deno, which uses a set of bindings for v8 called "rusty_v8". Rusty_v8 works with a pre-compiled binary of v8 (google's javascript engine) that is compiled with msvc. We compile emacs-ng with the same toolchain as vanilla emacs, which is not usually msvc. I'll be honest - I may have just been over my head at the time I attempted this. I did document my progress and thoughts pretty well. I got remacs builds working back in the day on windows - the main issue is with v8. I tried separating v8 at the DLL barrier, but I ran into roadblocks there. |
I actually tried to build emacs-ng over the weekend on Mingw just for curiosity. Emacs master can successfully be built without a few features such as dbus, pgtk and cairo. Right now I've stumbled upon some minor issues, and I'm afraid there could be some coming major ones. You have to make sure you use Msys git and disable clfr. But there still are some issues.
When I tried to use the rust toolchain x86_64-pc-windows-gnu I get
Doing a manual cargo build or more specifically
|
Did someone managed to build it under windows?
The text was updated successfully, but these errors were encountered: